# Request body is not a valid JSON object

**URL:** <https://devforum.zoom.us/t/request-body-is-not-a-valid-json-object/62493>\
**Category:** API and Webhooks\
**Tags:** phone\
**Created:** [January 11, 2022, 10:28am UTC](https://devforum.zoom.us/t/request-body-is-not-a-valid-json-object/62493 "2022-01-11T10:28:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![singh.abhi17](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/singh.abhi17/32/33984_2.png) [@singh.abhi17](https://devforum.zoom.us/u/singh.abhi17)\
**Post date:** [January 11, 2022, 10:28am UTC](https://devforum.zoom.us/t/request-body-is-not-a-valid-json-object/62493/1 "2022-01-11T10:28:26Z")

</div>

I am using a webhook with the event subscriptions  
I am receiving the below JSON format which is not a **Valid JSON Object**

{“event”:“phone.caller\_ringing”,“payload”:{“account\_id”:“EtEMsrarShyuZTHFxyTqyQ”,“object”:{“call\_id”:“7051888674261431843”,“caller”:{“extension\_number”:843,“phone\_number”:"+61370344733",“user\_id”:“Ql7x4ozYSFSIVRK7zjrzTA”,“timezone”:“Asia/Calcutta”,“device\_type”:“Windows\_Client(5.9.1.2581)”,“device\_name”:“ENTIRE-IN-IT220”},“callee”:{“extension\_number”:919811730316,“phone\_number”:"+919811730316"},“ringing\_start\_time”:“2022-01-11T10:09:39Z”},“event\_ts”:1641895782688}

**Error**  
Request Body should be a valid JSON object.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [January 17, 2022, 12:11pm UTC](https://devforum.zoom.us/t/request-body-is-not-a-valid-json-object/62493/2 "2022-01-17T12:11:45Z")

</div>

Greetings,@singh.abhi17,

Welcome to the Developer Forum – thank you for posting! As a start, can you share if you see the reported behavior consistently or intermittently? Also, is the behavior reproducible on a different server or network? For troubleshooting this, we recommend an app like [RequestBin](https://requestb.in/). RequestBin doesn’t try to interpret the payloads, it just prints them to your screen as it receives them, making it easy to see what is going on. Just click the **Create a Request** button on their homepage and copy the provided link. For example:

`http://requestb.in/18e5uxn3`

Now, change the webhook’s Endpoint URL to the new Requestbin URL (you must replace “HTTP” with “HTTPS”). Then, take the steps necessary to trigger the webhook once again (usually creating a record of some type). After you do that, simply refresh your Requestbin page and take a look.

Let me know if you have any questions about this.

Best,  
Donte

---

<div class="post-metadata">

**Author:** ![singh.abhi17](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/singh.abhi17/32/33984_2.png) [@singh.abhi17](https://devforum.zoom.us/u/singh.abhi17)\
**Post date:** [January 19, 2022, 6:20am UTC](https://devforum.zoom.us/t/request-body-is-not-a-valid-json-object/62493/3 "2022-01-19T06:20:32Z")

</div>

Thanks, @donte.zoom

issue is resolved

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [January 19, 2022, 10:25pm UTC](https://devforum.zoom.us/t/request-body-is-not-a-valid-json-object/62493/4 "2022-01-19T22:25:05Z")

</div>

Glad to hear the reported behavior is now resolved, @singh.abhi17 ! If possible, please share the exact solution for other forum members. It will be a great help to members facing similar problems.

Best,  
Donte

---

<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:** [February 19, 2022, 8:25am UTC](https://devforum.zoom.us/t/request-body-is-not-a-valid-json-object/62493/5 "2022-02-19T08:25:35Z")

</div>

Closed on February 19, 2022, 8:25am UTC

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