# sendChatToGroup returns MobileRTCSDKError.SDKERR\_NO\_PERMISSION

**URL:** <https://devforum.zoom.us/t/sendchattogroup-returns-mobilertcsdkerror-sdkerr-no-permission/67507>\
**Category:** Android\
**Created:** [April 13, 2022, 3:06pm UTC](https://devforum.zoom.us/t/sendchattogroup-returns-mobilertcsdkerror-sdkerr-no-permission/67507 "2022-04-13T15:06:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![criva](https://avatars.discourse-cdn.com/v4/letter/c/e9a140/32.png) [@criva](https://devforum.zoom.us/u/criva)\
**Post date:** [April 13, 2022, 3:06pm UTC](https://devforum.zoom.us/t/sendchattogroup-returns-mobilertcsdkerror-sdkerr-no-permission/67507/1 "2022-04-13T15:06:15Z")

</div>

I am developing an application using Zoom sdk in custom UI mode  
and I am trying to send a chat message to all users using the following code:

```auto
inMeetingService = ZoomSDK.getInstance().getInMeetingService();
MobileRTCSDKError sendResult = inMeetingService.getInMeetingChatController().sendChatToGroup(MobileRTCChatGroup_All, "Message to all");

```

but the call is returning MobileRTCSDKError.SDKERR\_NO\_PERMISSION

This issue has started to happen after the zoom sdk update (from v5.7.1.1268 to v5.9.3.4273)  
With the old sdk the same call is returning success and the message is properly sent to all users.

Digging a little bit in this problem I’ve found that with the new SDK (v5.9.3.4273) isChatDisabled is returning true (with the old one it is returning false)

`inMeetingService.getInMeetingChatController().isChatDisabled()`

I’ve tried also using the SDK v5.9.6.4777 but the problem is still present.

Is there anything special that has to be done for enabling chat with new SDK?

**Smartphone (please complete the following information):**

- Device: [e.g. Pixel 4a]
- OS: [e.g. Android 12]

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 13, 2022, 10:33pm UTC](https://devforum.zoom.us/t/sendchattogroup-returns-mobilertcsdkerror-sdkerr-no-permission/67507/2 "2022-04-13T22:33:48Z")

</div>

Hi @criva,

This error means that the current user who has joined the meeting through the SDK does not have permission to send chat messages. The meeting host would need to configure the meeting settings in order to enable all users to send chat messages in order for you to send messages programmatically.

Thanks!

---

<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:** [May 14, 2022, 8:34am UTC](https://devforum.zoom.us/t/sendchattogroup-returns-mobilertcsdkerror-sdkerr-no-permission/67507/3 "2022-05-14T08:34:31Z")

</div>

Closed on May 14, 2022, 8:34am UTC

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