# Error "code": 4700, While executing API for Chat message

**URL:** <https://devforum.zoom.us/t/error-code-4700-while-executing-api-for-chat-message/65107>\
**Category:** Chat\
**Created:** [March 2, 2022, 12:28pm UTC](https://devforum.zoom.us/t/error-code-4700-while-executing-api-for-chat-message/65107 "2022-03-02T12:28:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amlesh.sengar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amlesh.sengar/32/55433_2.png) [@amlesh.sengar](https://devforum.zoom.us/u/amlesh.sengar)\
**Post date:** [March 2, 2022, 12:28pm UTC](https://devforum.zoom.us/t/error-code-4700-while-executing-api-for-chat-message/65107/1 "2022-03-02T12:28:59Z")

</div>

Hello Team,

While executing API for Chat message, we are getting below error. we are using Admin account for executing API’s

{

```
"code": 4700,

"

```

 ![MicrosoftTeams-image (1)](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/7/e72b25e1d93c7ed8fd477b85e52e490a28d9dc96.png)

}

Please advise, how this can be fixed.

Regards,  
Harsh Vardhan

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [March 4, 2022, 11:07pm UTC](https://devforum.zoom.us/t/error-code-4700-while-executing-api-for-chat-message/65107/2 "2022-03-04T23:07:51Z")

</div>

Hi @amlesh.sengar

Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!  
Could you please confirm with me if you are working with an OAuth app? Or is this a Chatbot app?

Cheers,  
Elisa

---

<div class="post-metadata">

**Author:** ![amlesh.sengar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amlesh.sengar/32/55433_2.png) [@amlesh.sengar](https://devforum.zoom.us/u/amlesh.sengar)\
**Post date:** [March 7, 2022, 4:35am UTC](https://devforum.zoom.us/t/error-code-4700-while-executing-api-for-chat-message/65107/3 "2022-03-07T04:35:02Z")

</div>

Hi Elisa,

I am working with OAuth app.

Regards,  
Harsh Vardhan

---

<div class="post-metadata">

**Author:** ![amlesh.sengar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amlesh.sengar/32/55433_2.png) [@amlesh.sengar](https://devforum.zoom.us/u/amlesh.sengar)\
**Post date:** [March 10, 2022, 8:04am UTC](https://devforum.zoom.us/t/error-code-4700-while-executing-api-for-chat-message/65107/4 "2022-03-10T08:04:06Z")

</div>

Hi Elisa,

Awaiting your response.

Regards,

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [March 18, 2022, 10:08pm UTC](https://devforum.zoom.us/t/error-code-4700-while-executing-api-for-chat-message/65107/5 "2022-03-18T22:08:38Z")

</div>

Hi @amlesh.sengar  
I am really sorry for the late response.  
Make sure to add the Edit Chat messages privileges to the Admin Role as well.

This can be done by going to Admin Tab \> User management \> Roles, click on the role Admin  
and in the Role Settings tab make sure that the Chat messages feature is enabled

 ![Screen Shot 2022-03-18 at 6.08.10 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/3/e38ba38768ec58e73b43d31c3549cfaedf3707e3.png)

Hope this helps,  
Elisa
