# Error SDKERR\_WRONG\_USEAGE when requesting local recording privilege

**URL:** <https://devforum.zoom.us/t/error-sdkerr-wrong-useage-when-requesting-local-recording-privilege/104570>\
**Category:** Meeting SDK\
**Created:** [February 26, 2024, 8:46pm UTC](https://devforum.zoom.us/t/error-sdkerr-wrong-useage-when-requesting-local-recording-privilege/104570 "2024-02-26T20:46:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![alextsi](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@alextsi](https://devforum.zoom.us/u/alextsi)\
**Post date:** [February 26, 2024, 8:46pm UTC](https://devforum.zoom.us/t/error-sdkerr-wrong-useage-when-requesting-local-recording-privilege/104570/1 "2024-02-26T20:46:16Z")

</div>

**Meeting SDK Type and Version**  
Linux Meeting SDK v5.17.5.2561

**Description**  
We have the Zoom bot failing to start local recording for some of the clients.  
Here is how I am requesting it:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/6/56308191d3608690668634238b060dc66e7feae3.png)

**Error?**  
Error: Unable to request local recording privilege: 2

**Troubleshooting Routes**  
I found that one of the causes might be that the local recording is turned off in “Settings \> Recording \< Local Recording”. But it seems that for some of users this problem is transient so it is unlikely they get this option changed. Could you please confirm if there might be other causes for this error?

---

<div class="post-metadata">

**Author:** ![alextsi](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@alextsi](https://devforum.zoom.us/u/alextsi)\
**Post date:** [February 26, 2024, 8:55pm UTC](https://devforum.zoom.us/t/error-sdkerr-wrong-useage-when-requesting-local-recording-privilege/104570/2 "2024-02-26T20:55:23Z")

</div>

I also noticed that when the host uses the web version of Zoom, the bot also fails to start local recording, showing the same error message. Why could that be?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [February 27, 2024, 6:45am UTC](https://devforum.zoom.us/t/error-sdkerr-wrong-useage-when-requesting-local-recording-privilege/104570/3 "2024-02-27T06:45:09Z")

</div>

@alextsi

> I also noticed that when the host uses the web version of Zoom, the bot also fails to start local recording, showing the same error message. Why could that be?

This is the default behavior right now. We will be allowing host to accept/deny prompt in upcoming versions of Zoom Web Client.

> SDKERR\_WRONG\_USEAGE

This error usually happens when the method is called outside of the proper status. For instance, to request for recording permission, the SDK needs to be “in meeting” status before the request can be called succesfully.

---

<div class="post-metadata">

**Author:** ![alextsi](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@alextsi](https://devforum.zoom.us/u/alextsi)\
**Post date:** [February 27, 2024, 1:12pm UTC](https://devforum.zoom.us/t/error-sdkerr-wrong-useage-when-requesting-local-recording-privilege/104570/4 "2024-02-27T13:12:32Z")

</div>

Thanks for your response @chunsiong.zoom!

I can confirm that the call to RequestLocalRecordingPrivilege() only occurs from the onMeetingStatusChanged handler when the status is MEETING\_STATUS\_INMEETING. So, I assume this is not the cause.

From what I understand, we could only suggest to our clients to use the Zoom desktop client and allow recording in the settings. Do you have any other ideas on how we can address this?

> This is the default behavior right now. We will be allowing host to accept/deny prompt in upcoming versions of Zoom Web Client.

Do we have any information on when this might be implemented in the Web Client?

Thank you!

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [February 28, 2024, 3:47am UTC](https://devforum.zoom.us/t/error-sdkerr-wrong-useage-when-requesting-local-recording-privilege/104570/5 "2024-02-28T03:47:56Z")

</div>

@alextsi the feature to accept / deny recording prompt will be rolled out in Mid March 2024

---

<div class="post-metadata">

**Author:** ![alextsi](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@alextsi](https://devforum.zoom.us/u/alextsi)\
**Post date:** [February 28, 2024, 5:01pm UTC](https://devforum.zoom.us/t/error-sdkerr-wrong-useage-when-requesting-local-recording-privilege/104570/6 "2024-02-28T17:01:48Z")

</div>

Thanks @chunsiong.zoom looking forward to this update!

---

<div class="post-metadata">

**Author:** ![bharat.bhadresha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bharat.bhadresha/32/45714_2.png) [@bharat.bhadresha](https://devforum.zoom.us/u/bharat.bhadresha)\
**Post date:** [July 9, 2024, 3:43pm UTC](https://devforum.zoom.us/t/error-sdkerr-wrong-useage-when-requesting-local-recording-privilege/104570/7 "2024-07-09T15:43:05Z")

</div>

In my case, the status is “in meeting” but I still get SDKERR\_WRONG\_USAGE.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [July 10, 2024, 7:05am UTC](https://devforum.zoom.us/t/error-sdkerr-wrong-useage-when-requesting-local-recording-privilege/104570/8 "2024-07-10T07:05:24Z")

</div>

@bharat.bhadresha closing this thread as this might not be related to your issue. I’ll reply to your thread directly.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [July 10, 2024, 7:05am UTC](https://devforum.zoom.us/t/error-sdkerr-wrong-useage-when-requesting-local-recording-privilege/104570/9 "2024-07-10T07:05:27Z")

</div>

Closed on July 10, 2024, 7:05am UTC


