# Some message sending via Incoming Webhook Chatbot fail with "Not authorized." error

**URL:** <https://devforum.zoom.us/t/some-message-sending-via-incoming-webhook-chatbot-fail-with-not-authorized-error/55136>\
**Category:** API and Webhooks\
**Created:** [August 3, 2021, 8:09am UTC](https://devforum.zoom.us/t/some-message-sending-via-incoming-webhook-chatbot-fail-with-not-authorized-error/55136 "2021-08-03T08:09:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matrozov](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/matrozov/32/29728_2.png) [@Matrozov](https://devforum.zoom.us/u/Matrozov)\
**Post date:** [August 3, 2021, 8:09am UTC](https://devforum.zoom.us/t/some-message-sending-via-incoming-webhook-chatbot-fail-with-not-authorized-error/55136/1 "2021-08-03T08:09:30Z")

</div>

**Description**  
We send notifications from the monitoring system via the Incoming Webhook Chatbot. We noticed that some of our notifications are not sent with the “Not authorized” error. The message format, endpoint url and verification token are not changed.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Chatbot (Incoming Webhook Chatbot)

I will give an example of such a request:

**Request:**  
Time: August 3rd 2021, 00:05:00.000 GMT  
URL: [https://inbots.zoom.us/incoming/hook/IttTfRW7GJVtQuTEI2kLiIfJ](https://inbots.zoom.us/incoming/hook/IttTfRW7GJVtQuTEI2kLiIfJ)  
Verification token: VsVh…  
Body: {“head”:{“text”:"\*\*\*\*\*\*\*\*\*\* Incident Alert"},“body”:[{“type”:“section”,“sidebar\_color”:"#2196F3",“sections”:[{“type”:“message”,“text”:“From: \*\*\*\*\*\*\*\*\*\*\*\* \nSubject: \*\*\*\*\*\*\*\*\* Incident Alert\n\n\*\*\*\*\*\*\*\*\*\* has reported the following incident for \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* :\nNEW LOCAL USER PRIMARY ASSET\nLocal account \*\*\*\*\*\*\*\*\*\* created by \*\*\*\*\*\*\*\*\*\*\*\*\* on asset \*\*\*\*\*\*\*\*\*\*\*\*\*\* .\nFor details, see the https://\*\*\*\*\*\*\*\*\*\*\* (full incident report).\nThe \*\*\*\*\*\*\*\*\*\* Team”}]}]}

**Response:**  
Code: 400  
Body: Not authorized.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 4, 2021, 8:33pm UTC](https://devforum.zoom.us/t/some-message-sending-via-incoming-webhook-chatbot-fail-with-not-authorized-error/55136/2 "2021-08-04T20:33:52Z")

</div>

Hi @Matrozov ,

Thank you for sharing. To understand more clearly, were the webhook notifications working beforehand? If so, can you share more information about when you observed the changes?

Thank you,  
Gianni

---

<div class="post-metadata">

**Author:** ![Matrozov](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/matrozov/32/29728_2.png) [@Matrozov](https://devforum.zoom.us/u/Matrozov)\
**Post date:** [August 4, 2021, 8:48pm UTC](https://devforum.zoom.us/t/some-message-sending-via-incoming-webhook-chatbot-fail-with-not-authorized-error/55136/3 "2021-08-04T20:48:35Z")

</div>

Hi, @gianni.zoom

Yes, it seems that they worked more stable earlier. Currently, messages are not delivered regularly. Those. without any structural changes, one message is delivered and the other is not. Only the content of the notifications is slightly different.  
The problems seem to have started 5-7 days ago. I can see more details in the logs if needed.

Thank you,  
Oleg

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 4, 2021, 9:14pm UTC](https://devforum.zoom.us/t/some-message-sending-via-incoming-webhook-chatbot-fail-with-not-authorized-error/55136/4 "2021-08-04T21:14:22Z")

</div>

Okay thanks @Matrozov , can you share screenshots of what you’re seeing and a link to this post to [developersupport@zoom.us](mailto:developersupport@zoom.us), addressed to me?

Thanks!

---

<div class="post-metadata">

**Author:** ![Matrozov](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/matrozov/32/29728_2.png) [@Matrozov](https://devforum.zoom.us/u/Matrozov)\
**Post date:** [August 9, 2021, 4:14pm UTC](https://devforum.zoom.us/t/some-message-sending-via-incoming-webhook-chatbot-fail-with-not-authorized-error/55136/5 "2021-08-09T16:14:20Z")

</div>

The point is that we can’t reproduce this problem now. One of our customers was getting this error, but now he tells us that he can’t even use the standard commands to manage the Incoming Webhook Plugin, so he created a support ticket as well.

As soon as our client handle this issue we will get back to it and let you know. Thanks!

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 9, 2021, 7:28pm UTC](https://devforum.zoom.us/t/some-message-sending-via-incoming-webhook-chatbot-fail-with-not-authorized-error/55136/6 "2021-08-09T19:28:08Z")

</div>

Okay @Matrozov thank you for clarifying and for the update! We’ll be on the lookout for a follow up.

---

<div class="post-metadata">

**Author:** ![Matrozov](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/matrozov/32/29728_2.png) [@Matrozov](https://devforum.zoom.us/u/Matrozov)\
**Post date:** [August 21, 2021, 1:08pm UTC](https://devforum.zoom.us/t/some-message-sending-via-incoming-webhook-chatbot-fail-with-not-authorized-error/55136/7 "2021-08-21T13:08:53Z")

</div>

Hello, we’ve got some updates from our client’s request, they have found a problem and working on it within the #11774498 ticket. They already applied some workaround to avoid this problem and that fixes our case too. So we are sure that resolving our client’s ticket will also resolve our problem, so we can close this issue. Thanks for your replies!

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 23, 2021, 11:08am UTC](https://devforum.zoom.us/t/some-message-sending-via-incoming-webhook-chatbot-fail-with-not-authorized-error/55136/8 "2021-08-23T11:08:19Z")

</div>

Hi @Matrozov , happy to hear it! Thanks for using Zoom!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [September 22, 2021, 9:08pm UTC](https://devforum.zoom.us/t/some-message-sending-via-incoming-webhook-chatbot-fail-with-not-authorized-error/55136/9 "2021-09-22T21:08:56Z")

</div>

Closed on September 22, 2021, 9:08pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
