# Unsupported Media Type - create meeting

**URL:** <https://devforum.zoom.us/t/unsupported-media-type-create-meeting/37876>\
**Category:** API and Webhooks\
**Created:** [December 8, 2020, 5:22am UTC](https://devforum.zoom.us/t/unsupported-media-type-create-meeting/37876 "2020-12-08T05:22:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brainiacsindia](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@brainiacsindia](https://devforum.zoom.us/u/brainiacsindia)\
**Post date:** [December 8, 2020, 5:22am UTC](https://devforum.zoom.us/t/unsupported-media-type-create-meeting/37876/1 "2020-12-08T05:22:35Z")

</div>

**Description**  
I am getting an error when trying to create a meeting. I have registered my app as JWT app. I am using fetch from wix to call the API.

**Error**  
The error is 415, Unsupported Media Type

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

**Which Endpoint/s?**  
The entire code is given below

export function zoomMeeting () {  
let url = “[https://api.zoom.us/v2/users/](https://api.zoom.us/v2/users/){ **my email id** }/meetings”  
let options = {  
“method”:“POST”,  
“headers”:{  
“authorization”: "Bearer { **have included my JWT here** }  
},  
“body” : {  
“topic”: “Test Meeting”,  
“type”:2,  
“start\_time”:“2020-12-07T21:00:00”,  
“timezone”:“Asia/Calcutta”,  
“duration”:40,  
“password”:“brainiacs”,  
“agenda”:“trial meeting”}  
}

```
return fetch(url, options)
.then((response)=>{
	return (response)
})

```

}

---

<div class="post-metadata">

**Author:** ![brainiacsindia](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@brainiacsindia](https://devforum.zoom.us/u/brainiacsindia)\
**Post date:** [December 8, 2020, 11:18am UTC](https://devforum.zoom.us/t/unsupported-media-type-create-meeting/37876/2 "2020-12-08T11:18:18Z")

</div>

My apologies. This is resolved.

---

<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:** [December 9, 2020, 5:03pm UTC](https://devforum.zoom.us/t/unsupported-media-type-create-meeting/37876/3 "2020-12-09T17:03:06Z")

</div>

Glad you were able to resolve the issue, @brainiacsindia!

---

<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:** [January 9, 2021, 3:03am UTC](https://devforum.zoom.us/t/unsupported-media-type-create-meeting/37876/4 "2021-01-09T03:03:13Z")

</div>

Closed on January 9, 2021, 3:03am UTC

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