# Request Body should be a valid JSON object

**URL:** <https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/4575>\
**Category:** API and Webhooks\
**Created:** [June 10, 2019, 2:13pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/4575 "2019-06-10T14:13:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![harishd.srv](https://avatars.discourse-cdn.com/v4/letter/h/aca169/32.png) [@harishd.srv](https://devforum.zoom.us/u/harishd.srv)\
**Post date:** [June 10, 2019, 2:13pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/4575/1 "2019-06-10T14:13:27Z")

</div>

I am facing error like below  
{  
“code”: 300,  
“message”: “Request Body should be a valid JSON object.”  
}

JSON body

“topic”: “creating another meeting now from snow REST API”,  
“type”: “2”,  
“start\_time”: “2019-06-14T10:21:57”,  
“duration”: “45”,  
“timezone”: “Europe/Madrid”,  
“agenda”: “test”,

“recurrence”: {  
“type”: “integer”,  
“repeat\_interval”: “integer”,  
“weekly\_days”: “integer”,  
“monthly\_day”: “integer”,  
“monthly\_week”: “integer”,  
“monthly\_week\_day”: “integer”,  
“end\_times”: “integer”,  
“end\_date\_time”: “2019-17-06 13:24:11”  
},  
“settings”: {  
“host\_video”: “true”,  
“participant\_video”: “true”,  
“join\_before\_host”: “False”,  
“mute\_upon\_entry”: “False”,  
“watermark”: “true”,  
“audio”: “voip”,  
“auto\_recording”: “cloud”  
}  
}

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [June 10, 2019, 10:44pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/4575/2 "2019-06-10T22:44:38Z")

</div>

Hi @harishd.srv

The error, `Request Body should be a valid JSON object.`, occurs because your request body does not meet the required JSON format.

- Try replacing `“` and `”` with `" "`.
- Within `recurrence`, please make sure that you have added the type. For any other objects that you dont want to add values, you can just put `null` or remove those objects.

I would recommend trying [JSON formatter](https://jsonformatter.curiousconcept.com/) to format the JSON.

Thanks

---

<div class="post-metadata">

**Author:** ![shreehari](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shreehari/32/3918_2.png) [@shreehari](https://devforum.zoom.us/u/shreehari)\
**Post date:** [March 23, 2020, 2:03pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/4575/3 "2020-03-23T14:03:58Z")

</div>

I have been trying to create webinar using webinar api post method.  
Web trial.

 ![Selection_125](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/8376e6fdf933facd6daf01aa86cf0dd8153572ab.png)

JSON object seems to be perfect for me. I would like to get some assistance over this issue.

---

<div class="post-metadata">

**Author:** ![dariusz.walkiewicz](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@dariusz.walkiewicz](https://devforum.zoom.us/u/dariusz.walkiewicz)\
**Post date:** [March 23, 2020, 3:13pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/4575/4 "2020-03-23T15:13:10Z")

</div>

> [@harishd.srv](#):
>
> “recurrence”: {  
> “type”: “integer”,  
> “repeat\_interval”: “integer”,  
> “weekly\_days”: “integer”,  
> “monthly\_day”: “integer”,  
> “monthly\_week”: “integer”,  
> “monthly\_week\_day”: “integer”,  
> “end\_times”: “integer”,  
> “end\_date\_time”: “2019-17-06 13:24:11”  
> },

In my opinion, section recurrence should be like this:

“recurrence”: {  
“type”: 1,  
“repeat\_interval”: 1,  
“end\_date\_time”: “2019-06-14T10:21:57” ← same as start\_time  
},

---

<div class="post-metadata">

**Author:** ![tranvuong1803](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@tranvuong1803](https://devforum.zoom.us/u/tranvuong1803)\
**Post date:** [March 23, 2020, 3:16pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/4575/5 "2020-03-23T15:16:10Z")

</div>

> [@harishd.srv](#):
>
> “type”: “integer”,  
> “repeat\_interval”: “integer”,  
> “weekly\_days”: “integer”,  
> “monthly\_day”: “integer”,  
> “monthly\_week”: “integer”,  
> “monthly\_week\_day”: “integer”,  
> “end\_times”: “integer”,

this is sample, please replace “integer”=\>1 or some value  
“integer” or “string” or “boolen” is data type for this field

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [March 23, 2020, 10:22pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/4575/6 "2020-03-23T22:22:43Z")

</div>

Thanks for following up @tranvuong1803 😃 🙌

---

<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, 7:24pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/4575/7 "2020-08-21T19:24:16Z")

</div>


