# Unable to Create a Meeting For User

**URL:** <https://devforum.zoom.us/t/unable-to-create-a-meeting-for-user/34639>\
**Category:** API and Webhooks\
**Created:** [October 29, 2020, 1:35pm UTC](https://devforum.zoom.us/t/unable-to-create-a-meeting-for-user/34639 "2020-10-29T13:35:30Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasad\_hyd](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@prasad\_hyd](https://devforum.zoom.us/u/prasad_hyd)\
**Post date:** [October 29, 2020, 1:35pm UTC](https://devforum.zoom.us/t/unable-to-create-a-meeting-for-user/34639/1 "2020-10-29T13:35:30Z")

</div>

I am integrating code for Create a meeting API with one of my Web Application, I am passing all the data in JSON format to the API in Body, but getting “Invalid CORS request” like that  
Please find the below format (Body) for your reference.

 ![user](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/5/655462a1b308111b0a03482f71c8efd64d68633b.png)

Response as below

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/6/d6aaaca8c709635257569f172bf3adea322241af.png)

Please help me for above facing issue. Thanks in Advance

---

<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:** [October 30, 2020, 7:30pm UTC](https://devforum.zoom.us/t/unable-to-create-a-meeting-for-user/34639/2 "2020-10-30T19:30:54Z")

</div>

Hey @prasad_hyd,

Thanks for reaching out, and happy to help!

As a first step, there are a few things I can see that are likely affecting your request:

1. For your request body, where it says “Text” in orange (next to ‘binary’), please click the dropdown and select ‘json’.
2. You will need to authorize your request. In the authorization tab, select Auth type Bearer Token and provide your [JWT token](https://marketplace.zoom.us/docs/guides/build/jwt-app).

Let me know if this helps!

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![prasad\_hyd](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@prasad\_hyd](https://devforum.zoom.us/u/prasad_hyd)\
**Post date:** [October 31, 2020, 6:33am UTC](https://devforum.zoom.us/t/unable-to-create-a-meeting-for-user/34639/3 "2020-10-31T06:33:51Z")

</div>

Hi Will,

Thanks for your response. Pass the Json format in Request Body along with the Authorization token as well. Please find the below screenshot as well.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/5/35b5af973181b1de6b740d05d6e2d9c7f0eabde0.png)

Authorization Request

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/5/a5966301841837b019a9768b842cdff1ad849003.png)

getting same result like " Invalid CORS request"

---

<div class="post-metadata">

**Author:** ![prasad\_hyd](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@prasad\_hyd](https://devforum.zoom.us/u/prasad_hyd)\
**Post date:** [November 2, 2020, 5:08am UTC](https://devforum.zoom.us/t/unable-to-create-a-meeting-for-user/34639/4 "2020-11-02T05:08:55Z")

</div>

Still we are waiting for your response…

---

<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:** [November 2, 2020, 11:37pm UTC](https://devforum.zoom.us/t/unable-to-create-a-meeting-for-user/34639/5 "2020-11-02T23:37:49Z")

</div>

Hey @prasad_hyd,

Can you please share your request body JSON in JSON format here so we can test it? 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![prasad\_hyd](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@prasad\_hyd](https://devforum.zoom.us/u/prasad_hyd)\
**Post date:** [November 3, 2020, 4:26am UTC](https://devforum.zoom.us/t/unable-to-create-a-meeting-for-user/34639/6 "2020-11-03T04:26:43Z")

</div>

Hi Tommy,

Thanks for response, please find the below request Body as you requested with JSON format.

{  
“topic”: “Physics Topic”,  
“type”: 2,  
“start\_time”: “2020-11-08T16:30:14Z”,  
“duration”: 40,  
“schedule\_for”: “[HYD101310@epraghna.com](mailto:HYD101310@epraghna.com)”,  
“timezone”: “Asia/Kolkata”,  
“password”: “105777”,  
“agenda”: “Meeting Test1”,  
“recurrence”: {  
“type”: 1  
},  
“settings”: {  
“host\_video”: true,  
“participant\_video”: false,  
“join\_before\_host”: true,  
“mute\_upon\_entry”:true,  
“audio”: “both”,  
“auto\_recording”: “false”,  
“enforce\_login”: false  
}  
}

Let me know anything required here.

---

<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:** [November 3, 2020, 7:35pm UTC](https://devforum.zoom.us/t/unable-to-create-a-meeting-for-user/34639/7 "2020-11-03T19:35:22Z")

</div>

Hey @prasad_hyd,

Thanks for sharing that, it looks like your JSON is ok. Can you please see my post here and let me know if following my suggestions here helps:

> [@Getting Invalid CORS request](https://devforum.zoom.us/t/getting-invalid-cors-request/30493/3):
>
> Hi @debjyoti.biswas.che1, You can test with either JWT or OAuth in Postman. I have a feeling this is related more to your environment. I’d recommend checking out this stack overflow post (it’s a little older, but still links to the Relevant Postman docs): In regards to OAuth, if you want to test this in Postman, you’ll need to first create an OAuth app in the marketplace and then you can access the Client ID in the credentials section: I recommend testing with a User-Level OAuth app, if…

Let me know—thanks!  
Will

---

<div class="post-metadata">

**Author:** ![prasad\_hyd](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@prasad\_hyd](https://devforum.zoom.us/u/prasad_hyd)\
**Post date:** [November 7, 2020, 7:21am UTC](https://devforum.zoom.us/t/unable-to-create-a-meeting-for-user/34639/8 "2020-11-07T07:21:38Z")

</div>

Hi Will,

Thanks for response. We tested with the JWT token in Postman. We are getting Same Response “Invallid CORS request”

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/d/bda606083b568d3ec866fb9392a1031541f6eb8b.png)

Can we pass JWT or OAuth token? else We should pass OAuth token only?

---

<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:** [November 9, 2020, 6:45pm UTC](https://devforum.zoom.us/t/unable-to-create-a-meeting-for-user/34639/9 "2020-11-09T18:45:49Z")

</div>

Hi @prasad_hyd,

Thanks for confirming. You should be able to authenticate your request with either OAuth or JWT. Have you tried using the Postman Interceptor?

> **[Using Postman Interceptor](https://learning.postman.com/docs/sending-requests/capturing-request-data/interceptor/)**

---

<div class="post-metadata">

**Author:** ![prasad\_hyd](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@prasad\_hyd](https://devforum.zoom.us/u/prasad_hyd)\
**Post date:** [November 10, 2020, 4:35am UTC](https://devforum.zoom.us/t/unable-to-create-a-meeting-for-user/34639/10 "2020-11-10T04:35:23Z")

</div>

Hi Will,  
I tried using the Postman Interceptor along with the JWT Token, please find the below screen shot for your reference.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/4/34ccf94cd57ee02364e31740f77cdb536c860482.png)

I observed in the documentation to pass the OAuth token for [https://api.zoom.us/v2/users/:userId/meetings](https://api.zoom.us/v2/users/:userId/meetings)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/1/91ba7b8964972d5abd1f4e0f0a4cf7f7a99a4e79.png)

and they mentioned to send the sample request also.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/c/0c33e508d826c22e1f5c5fec4747ceed83031618.png)

so that i created OAuth app and submitted but am getting below response.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/d/ad5ff9d98df8fcfd37f1f5ecba86aa9cef47c00d.png)

Can you please tell me how to generate OAuth token to Creating a Meeting.

---

<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:** [November 10, 2020, 10:26pm UTC](https://devforum.zoom.us/t/unable-to-create-a-meeting-for-user/34639/11 "2020-11-10T22:26:16Z")

</div>

Hey @prasad_hyd,

Thanks for sharing these details. I just DM’d you to offer up some 1:1 assistance.

Thanks,  
Will

---

<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:** [December 11, 2020, 8:26am UTC](https://devforum.zoom.us/t/unable-to-create-a-meeting-for-user/34639/12 "2020-12-11T08:26:19Z")

</div>

Closed on December 11, 2020, 8:26am UTC

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