# "Request Body should be a valid JSON object."

**URL:** <https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/21575>\
**Category:** API and Webhooks\
**Created:** [June 17, 2020, 8:55am UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/21575 "2020-06-17T08:55:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinkhorigin](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kevinkhorigin/32/10608_2.png) [@kevinkhorigin](https://devforum.zoom.us/u/kevinkhorigin)\
**Post date:** [June 17, 2020, 8:55am UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/21575/1 "2020-06-17T08:55:52Z")

</div>

Hi, i want to create registrant in my meeting but the response always says  
{  
“code”: 300,  
“message”: “Request Body should be a valid JSON object.”  
}

i follow the instruction in [https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantcreate](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantcreate)

and copy paste the json but still not working…!

bellow is my screenshoot test in postman

[Screenshot from 2020-06-17 15-52-58|690x388](https://devforum.zoom.us/uploads/short-url/xmpVdo00EujaxmXYvfeDWQOa7r0.png)

---

<div class="post-metadata">

**Author:** ![kcdemo.gdaustin.sfcc](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@kcdemo.gdaustin.sfcc](https://devforum.zoom.us/u/kcdemo.gdaustin.sfcc)\
**Post date:** [June 17, 2020, 9:51pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/21575/2 "2020-06-17T21:51:17Z")

</div>

Make sure that you message body follows JSON format.

Common mistakes include leaving a comma on the last line before the }, not quoting correctly, leaving out the : delimiter in the middle, or missing end-of-line commas on lines above the last line before the }.

Good Example  
{  
“item1”: “value1”,  
“item2”: 100,  
“item3”: “no comma here”  
}

---

<div class="post-metadata">

**Author:** ![kcdemo.gdaustin.sfcc](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@kcdemo.gdaustin.sfcc](https://devforum.zoom.us/u/kcdemo.gdaustin.sfcc)\
**Post date:** [June 17, 2020, 9:54pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/21575/3 "2020-06-17T21:54:48Z")

</div>

Also, if you cut/paste from a source, there might be hidden “special characters” which might break JSON as well. You might try cutting and pasting to a text editor first, maybe check for special characters if your editor allows it, then cut/paste to Postman.

---

<div class="post-metadata">

**Author:** ![kcdemo.gdaustin.sfcc](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@kcdemo.gdaustin.sfcc](https://devforum.zoom.us/u/kcdemo.gdaustin.sfcc)\
**Post date:** [June 17, 2020, 9:57pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/21575/4 "2020-06-17T21:57:31Z")

</div>

One final thing. I’ve noticed that sometimes the examples will have different values than the actual values you need. For example, if you create a user with the “create” action, it doesn’t have a password item, if you create with “autoCreate” it does. Make sure the action you are taking uses the correct fields in the JSON.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 19, 2020, 8:00pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/21575/5 "2020-06-19T20:00:59Z")

</div>

Thanks for your suggestions @kcdemo.gdaustin.sfcc!

@kevinkhorigin, let me know if you are still having this issue! 🙂

-Tommy

---

<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, 10:09pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/21575/6 "2020-08-21T22:09:34Z")

</div>

Closed on August 21, 2020, 10:09pm UTC


