# Unable to update user recording settings

**URL:** <https://devforum.zoom.us/t/unable-to-update-user-recording-settings/65896>\
**Category:** API and Webhooks\
**Created:** [March 16, 2022, 12:24pm UTC](https://devforum.zoom.us/t/unable-to-update-user-recording-settings/65896 "2022-03-16T12:24:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rich](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rich/32/1029_2.png) [@rich](https://devforum.zoom.us/u/rich)\
**Post date:** [March 16, 2022, 12:24pm UTC](https://devforum.zoom.us/t/unable-to-update-user-recording-settings/65896/1 "2022-03-16T12:24:15Z")

</div>

**Description**  
I am attempting to update user settings, sending changes to the user’s settings via the api

**Error**  
I get this error… `300` Request Body should be a valid JSON object." method=“post” enctype=“multipart/form-data” class=“cssForm admin\_form”\>

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
I think we are using OAuth

**Which Endpoint/s?**  
/users/’ . $params[‘userId’] . '/settings/

we are doing lots of other fucntions via the Api with no problem, but for some reason our data isn’t being accepted, even though if I paste into json validator its ok ?

Here is what the log says we are sending

2022-03-16 12:03:58: {“userId”:“9LHFs1X3Qdij6pfZ\_zqBsQ”,“email\_notification”:,“feature”:,“in\_meeting”:,“profile”:,“recording”:{“local\_recording”:false,“cloud\_recording”:true,“record\_speaker\_view”:false,“record\_gallery\_view”:false,“record\_audio\_file”:false,“record\_audio\_file\_each\_participant”:false,“save\_chat\_text”:false,“show\_timestamp”:false,“recording\_audio\_transcript”:false,“auto\_recording”:true,“ip\_address\_access\_control”:true,“host\_delete\_cloud\_recording”:true,“recording\_disclaimer”:true,“ask\_participants\_to\_consent\_disclaimer”:true,“ask\_host\_to\_confirm\_disclaimer”:false,“auto\_delete\_cmr”:false,“required\_password\_for\_shared\_cloud\_recordings”:true,“recording\_password\_requirement”:true},“schedule\_meeting”:,“telephony”:,“tsp”:}

---

<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 21, 2022, 11:07pm UTC](https://devforum.zoom.us/t/unable-to-update-user-recording-settings/65896/2 "2022-03-21T23:07:22Z")

</div>

Hi @rich

Thanks for reaching out to the Zoom Developer Forum, I am happy to assist here!  
I identify an error in the request body you are sending that might be causing you getting this 300 code error.

Note that in your “ip\_address\_access\_control” you are setting the value to true, and in our Docs, it is an object with the fields “enable” and “ip\_addresses \_or\_ranges”

 ![Screen Shot 2022-03-21 at 7.06.54 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/a/1a4c010760893259bf540136b2c70d91ab437939.png)

Hope this helps,  
Elisa

---

<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:** [April 21, 2022, 9:08am UTC](https://devforum.zoom.us/t/unable-to-update-user-recording-settings/65896/3 "2022-04-21T09:08:12Z")

</div>

Closed on April 21, 2022, 9:08am UTC

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