# Chatbot is unable to respond back to the user

**URL:** <https://devforum.zoom.us/t/chatbot-is-unable-to-respond-back-to-the-user/5573>\
**Category:** API and Webhooks\
**Created:** [August 19, 2019, 5:00pm UTC](https://devforum.zoom.us/t/chatbot-is-unable-to-respond-back-to-the-user/5573 "2019-08-19T17:00:09Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ps40](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@ps40](https://devforum.zoom.us/u/ps40)\
**Post date:** [August 19, 2019, 5:00pm UTC](https://devforum.zoom.us/t/chatbot-is-unable-to-respond-back-to-the-user/5573/1 "2019-08-19T17:00:09Z")

</div>

We are trying to create a chatbot type of application. Sometimes the application ends up in a state where we are unable to send a message back to the user. Can you provide guidance on how to troubleshoot this. Currently we are simply creating new chatbots. But we wouldn’t want this to happen to a production application.

here is a sample request/response.

POST /v2/im/chat/messages HTTP/1.1  
Host: [api.zoom.us](http://api.zoom.us)  
Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJ2ZXIiOiI2IiwiY2xpZW50SWQiOiJlN1R2RHIyUVN2aVhVaDNEX1hBY0F3IiwiaXNzIjoidXJuOnpvb206Y29ubmVjdDpjbGllbnRpZDplN1R2RHIyUVN2aVhVaDNEX1hBY0F3IiwiYXV0aGVudGljYXRpb25JZCI6IjlhNmQ2MGQ0N2IzNzFiMTExZTdkNjE1Y2VjMDA1OTZiIiwiZW52IjpbbnVsbF0sInVzZXJJZCI6IkQ5LVhxUWhrVFYtbHVQZWRqM0FUS0EiLCJncm91cE51bWJlciI6MCwiYXVkIjoiaHR0cHM6Ly9vYXV0aC56b29tLnVzIiwibmJmIjoxNTY2MjMzODIzLCJleHAiOjE1NjYyMzc0MjMsInRva2VuVHlwZSI6ImNsaWVudF90b2tlbiIsImlhdCI6MTU2NjIzMzgyMywianRpIjoiOGVlM2RjNzctYTRmOS00NjQ1LTgzNWItMjI3MmJmNWQyNjQxIn0.CJYKb0651Az\_zMpi\_AjcWzWCL6g-iK6d5CV5KvcIamhin8JB\_wLtMaXG4n-ijoxLMV0b-wctvx0zIHENwkyvkg  
Content-Type: application/json

{“robot\_jid”:“v1eif9waq\_qaw0-u\_ukk7paa@xmpp.zoom.us”,“to\_jid”:“d9-xqqhktv-lupedj3atka@xmpp.zoom.us”,“account\_id”:“35OVrJQuQOCWqKbk9Fq4Pg”,“content”:{“head”:{“text”:“hello”}}}  
BOTTENDER |INFO | 2019-08-19 16:57:04.107247024 [ZOOM REPLY]: POST to [https://api.zoom.us/v2/im/chat/messages](https://api.zoom.us/v2/im/chat/messages) took 127 msec: [https://api.zoom.us/v2/im/chat/messages](https://api.zoom.us/v2/im/chat/messages)  
BOTTENDER |ERROR| 2019-08-19 16:57:04.107306988 [ZOOM REPLY]: http request to [https://api.zoom.us/v2/im/chat/messages](https://api.zoom.us/v2/im/chat/messages) didn’t return 201: (403) {  
“code”:7004,  
“message”:“The user does not have authorization, the application cannot send the message.”

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 19, 2019, 6:30pm UTC](https://devforum.zoom.us/t/chatbot-is-unable-to-respond-back-to-the-user/5573/3 "2019-08-19T18:30:14Z")

</div>

@ps40, I think your issue is you are on the Basic plan.

You need to have at least the [Pro Plan](https://zoom.us/pricing) to use the Zoom API’s. Your email is currently on the `Basic` plan. If you would like to have a Free Trial to test the Zoom API’s contact [isv@zoom.us](mailto:isv@zoom.us).

Duplicate post with solution here

> [@Is it worth bothering with the ChatBot API?](https://devforum.zoom.us/t/is-it-worth-bothering-with-the-chatbot-api/3879/15):
>
> I am now able to finally post to a channel from a Bot. I upgraded to Pro license. However, I still got the exact same error message as before. So, it’s not clear that the Pro license was really required, since I was able to make API calls just fine and they mostly worked with the Basic license. At no point did I get an error message stating that I needed to upgrade my license… but then again, the error messages have been mostly useless anyway. I needed to take the following steps to mak…

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![alon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alon/32/3471_2.png) [@alon](https://devforum.zoom.us/u/alon)\
**Post date:** [December 24, 2019, 8:43pm UTC](https://devforum.zoom.us/t/chatbot-is-unable-to-respond-back-to-the-user/5573/4 "2019-12-24T20:43:17Z")

</div>

@tommy is having a PRO account still required for Chatbot API? I’m not seeing it in the documentation but getting the below error sometimes… which I’m not sure when…

```auto
{
	"code":7004,
	"message":"The user does not have authorization, the application cannot send the message."
}

```

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 26, 2019, 5:28pm UTC](https://devforum.zoom.us/t/chatbot-is-unable-to-respond-back-to-the-user/5573/5 "2019-12-26T17:28:40Z")

</div>

Hey @alon,

Is your Chatbot App installed on your account?

Please share your request url, and body so I can debug.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![cat](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@cat](https://devforum.zoom.us/u/cat)\
**Post date:** [October 9, 2020, 6:12pm UTC](https://devforum.zoom.us/t/chatbot-is-unable-to-respond-back-to-the-user/5573/6 "2020-10-09T18:12:55Z")

</div>

I have the same problem, do I need to get a pro license?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 12, 2020, 6:00pm UTC](https://devforum.zoom.us/t/chatbot-is-unable-to-respond-back-to-the-user/5573/7 "2020-10-12T18:00:08Z")

</div>

Hi @cat,

If you wish to develop a chatbot, you will need a Pro license, that’s correct.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![cat](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@cat](https://devforum.zoom.us/u/cat)\
**Post date:** [October 12, 2020, 6:32pm UTC](https://devforum.zoom.us/t/chatbot-is-unable-to-respond-back-to-the-user/5573/8 "2020-10-12T18:32:50Z")

</div>

Hi,

Zoom chatbot tutorial indicates that only Free version is enough.

Anyway how can I get a trial version of pro license. I have made a request by sending email to [isv@zoom.us](mailto:isv@zoom.us) , I have not got any feedback.

Any help would be greatly appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 13, 2020, 6:10pm UTC](https://devforum.zoom.us/t/chatbot-is-unable-to-respond-back-to-the-user/5573/9 "2020-10-13T18:10:30Z")

</div>

Hey @cat,

I think the issue may be different. Can you please create a new topic here: #zoom-api and fill out the post template so we have enough information to debug?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![cat](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@cat](https://devforum.zoom.us/u/cat)\
**Post date:** [October 16, 2020, 2:05am UTC](https://devforum.zoom.us/t/chatbot-is-unable-to-respond-back-to-the-user/5573/10 "2020-10-16T02:05:34Z")

</div>

@Tommy, you are right, my issue was different – bot endpoint URL for [development] is not valid, not up to date with the current ngrok session. Sorry about that. Thanks

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 19, 2020, 1:27am UTC](https://devforum.zoom.us/t/chatbot-is-unable-to-respond-back-to-the-user/5573/11 "2020-10-19T01:27:49Z")

</div>

No worries @cat!

Happy to hear you got it sorted out! 🙂

Thanks,  
Tommy
