# Error: Request Body Requires Valid JSON Object --- However, JSON is Valid

**URL:** <https://devforum.zoom.us/t/error-request-body-requires-valid-json-object-however-json-is-valid/51370>\
**Category:** API and Webhooks\
**Created:** [May 30, 2021, 7:50am UTC](https://devforum.zoom.us/t/error-request-body-requires-valid-json-object-however-json-is-valid/51370 "2021-05-30T07:50:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![boston85719](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/boston85719/32/27714_2.png) [@boston85719](https://devforum.zoom.us/u/boston85719)\
**Post date:** [May 30, 2021, 7:50am UTC](https://devforum.zoom.us/t/error-request-body-requires-valid-json-object-however-json-is-valid/51370/1 "2021-05-30T07:50:33Z")

</div>

I am getting an error when I try to use my API call to create a meeting.

I have setup the JSON body and it is valid. I used a validator that I found a link to from [this post](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object/4575/2) by @ojus.zoom

 ![Screen Shot 2021-05-30 at 2.45.39 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/1/018c8bbc1b916c00763ac3516b0530aa3006d3ed.png)

Not sure why I am getting the error about a valid json object.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 2, 2021, 12:00am UTC](https://devforum.zoom.us/t/error-request-body-requires-valid-json-object-however-json-is-valid/51370/2 "2021-06-02T00:00:23Z")

</div>

Hey @boston85719,

Thank you for reaching out to the Zoom Developer Forum. What is the error that you’re seeing when using this API?

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/boston85719/32/27714_2.png) [@boston85719](https://devforum.zoom.us/u/boston85719)\
**Post date:** [June 19, 2021, 4:43pm UTC](https://devforum.zoom.us/t/error-request-body-requires-valid-json-object-however-json-is-valid/51370/3 "2021-06-19T16:43:58Z")

</div>

This was actually my issue…I wasn’t recognizing that the ‘type’ needed to be an integer, and instead I was sending a string value.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [June 22, 2021, 3:55pm UTC](https://devforum.zoom.us/t/error-request-body-requires-valid-json-object-however-json-is-valid/51370/4 "2021-06-22T15:55:01Z")

</div>

Aha, glad that was all it was! 🙂

---

<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:** [July 23, 2021, 1:55am UTC](https://devforum.zoom.us/t/error-request-body-requires-valid-json-object-however-json-is-valid/51370/5 "2021-07-23T01:55:20Z")

</div>

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