# {"code":300,"message":"Unsupported Content Type"}

**URL:** <https://devforum.zoom.us/t/code-300-message-unsupported-content-type/14501>\
**Category:** API and Webhooks\
**Created:** [April 22, 2020, 8:48pm UTC](https://devforum.zoom.us/t/code-300-message-unsupported-content-type/14501 "2020-04-22T20:48:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![optt](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/optt/32/5853_2.png) [@optt](https://devforum.zoom.us/u/optt)\
**Post date:** [April 22, 2020, 8:48pm UTC](https://devforum.zoom.us/t/code-300-message-unsupported-content-type/14501/1 "2020-04-22T20:48:01Z")

</div>

Hi there,  
I’m trying to copy the source code for creating meeting section to my own js code, but I get an error when running with node but it works fine here in the test request section.  
[https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)  
Do you know what can be the issue?

**Error**  
{“code”:300,“message”:“Unsupported Content Type”}

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

I’m using VS code and running this code on my local machine.

xhr.open(“POST”, “[https://api.zoom.us/v2/users/me/meetings](https://api.zoom.us/v2/users/me/meetings)”);

xhr.setRequestHeader(“content-type”, “application/json”);

xhr.setRequestHeader(“authorization”, “Bearer …”);  
2. See error

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/80afeb773397e935944342ac62a84b1609a8bb74.png)

---

<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:** [April 23, 2020, 7:37pm UTC](https://devforum.zoom.us/t/code-300-message-unsupported-content-type/14501/2 "2020-04-23T19:37:23Z")

</div>

Hey @optt,

Please share your request body so I can debug.

Thanks,  
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, 8:55pm UTC](https://devforum.zoom.us/t/code-300-message-unsupported-content-type/14501/3 "2020-08-21T20:55:12Z")

</div>


