# 7004 when sending messages to some users + missing webhooks

**URL:** <https://devforum.zoom.us/t/7004-when-sending-messages-to-some-users-missing-webhooks/8717>\
**Category:** API and Webhooks\
**Created:** [March 16, 2020, 11:35am UTC](https://devforum.zoom.us/t/7004-when-sending-messages-to-some-users-missing-webhooks/8717 "2020-03-16T11:35:16Z")\
**Posts on this page:** 9\
**Page:** 1

<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:** [March 16, 2020, 11:35am UTC](https://devforum.zoom.us/t/7004-when-sending-messages-to-some-users-missing-webhooks/8717/1 "2020-03-16T11:35:16Z")

</div>

Trying to send a message to some users `v2/im/chat/messages` I’m receiving

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

```

Also it seems like some of the webhooks for this user did not come through.

Not sure which other information to provide

---

<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:** [March 16, 2020, 10:09pm UTC](https://devforum.zoom.us/t/7004-when-sending-messages-to-some-users-missing-webhooks/8717/2 "2020-03-16T22:09:25Z")

</div>

Hey @alon,

Please provide your request body.

Also make sure the user you are trying to send the Chatbot message to has the app installed.

Which Webhook did not work?

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:** [April 1, 2020, 10:32pm UTC](https://devforum.zoom.us/t/7004-when-sending-messages-to-some-users-missing-webhooks/8717/3 "2020-04-01T22:32:06Z")

</div>

Sorry for the late response, just spotted this error again:

```auto
POST https://zoom.us/v2/im/chat/messages
{"account_id":"vCpAgfHuRDeDglOT3J1tFQ","to_jid":"-d8wpkcbs7otk5l4groq7q@xmpp.zoom.us","content":{"head":{"text":"test"}},"robot_jid":"v1d97h7pq_rp-r9urflxqzzw@xmpp.zoom.us"}

```

For most users, this does work… but not for this one…

---

<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:** [April 2, 2020, 7:52am UTC](https://devforum.zoom.us/t/7004-when-sending-messages-to-some-users-missing-webhooks/8717/4 "2020-04-02T07:52:25Z")

</div>

Hey @alon,

This can happen when the user has uninstalled the Chatbot. Can you make sure they did not uninstall it?

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:** [April 2, 2020, 8:43am UTC](https://devforum.zoom.us/t/7004-when-sending-messages-to-some-users-missing-webhooks/8717/5 "2020-04-02T08:43:06Z")

</div>

He did not uninstall the app. I checked the token is working was able to make requests with it to retrieve meeting and user objects. Also my webhooks are subscribed to uninstalls and deauthorizations

---

<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:** [April 2, 2020, 11:20pm UTC](https://devforum.zoom.us/t/7004-when-sending-messages-to-some-users-missing-webhooks/8717/6 "2020-04-02T23:20:58Z")

</div>

Hey @alon,

> [@alon](#):
>
> was able to make requests with it to retrieve meeting and user objects.

Make sure you are using the [Chatbot token](https://marketplace.zoom.us/docs/guides/auth/oauth#oauth-chatbots), which is different then an access\_token that can retrieve meeting and user objects.

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:** [April 6, 2020, 8:50pm UTC](https://devforum.zoom.us/t/7004-when-sending-messages-to-some-users-missing-webhooks/8717/7 "2020-04-06T20:50:14Z")

</div>

i am… otherwise **some** of the calls would not work 🙂

---

<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:** [April 7, 2020, 5:24am UTC](https://devforum.zoom.us/t/7004-when-sending-messages-to-some-users-missing-webhooks/8717/8 "2020-04-07T05:24:16Z")

</div>

Hey @alon,

Is that user by chance the account owner?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 8:15pm UTC](https://devforum.zoom.us/t/7004-when-sending-messages-to-some-users-missing-webhooks/8717/9 "2020-08-21T20:15:49Z")

</div>

Closed on August 21, 2020, 8:15pm UTC


