# Create Meeting Error

**URL:** <https://devforum.zoom.us/t/create-meeting-error/6802>\
**Category:** Web\
**Created:** [November 25, 2019, 8:58am UTC](https://devforum.zoom.us/t/create-meeting-error/6802 "2019-11-25T08:58:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![palanirajan70](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@palanirajan70](https://devforum.zoom.us/u/palanirajan70)\
**Post date:** [November 25, 2019, 8:58am UTC](https://devforum.zoom.us/t/create-meeting-error/6802/1 "2019-11-25T08:58:15Z")

</div>

Hi All

Can any one help me out  
Description/Error  
Failed to load resource. The server responded with a status of 403

Web JS SDK  
Rest API call from Local web project for create meeting generates error " Failed to load resource 403 "

Steps to reproduce the behavior:

[https://api.zoom.us/v2/users/{userId}/meetings](https://api.zoom.us/v2/users/%7BuserId%7D/meetings)

I used the same code that generated in postman

```auto
var data = JSON.stringify({
  "host_id": "my email id",
  "topic": "my first zoom meeting",
  "type": "2"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://api.zoom.us/v2/users/{email id}/meetings");
xhr.setRequestHeader("content-type", "application/json");
xhr.setRequestHeader("authorization", "Bearer JWT Token");

xhr.send(data);

```

---

<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 25, 2019, 9:16pm UTC](https://devforum.zoom.us/t/create-meeting-error/6802/2 "2019-11-25T21:16:39Z")

</div>

Hey @palanirajan70, thanks for posting and using Zoom!

I believe this is a [Cors issue](https://medium.com/netscape/hacking-it-out-when-cors-wont-let-you-be-great-35f6206cc646). Zoom does not allow the frontend to make requests to our API.

I suggest using a [backend Node.js Server to make requests](https://www.twilio.com/blog/2017/08/http-requests-in-node-js.html) to the Zoom API. For example:

Your Frontend and Web SDK makes http request to your backed server \> your backend server makes request to Zoom API \> Zoom API responds back to your backend server \> your backend server responds back to your Frontend and Web SDK.

> [@Creating a meeting in Jquery](https://devforum.zoom.us/t/creating-a-meeting-in-jquery/5594/6):
>
> Thanks @gokul, First of all, calling Zoom APIs via the frontend (jQuery) is not supported. I suggest creating a [Node.js server](https://blog.risingstack.com/your-first-node-js-http-server/) to [make http requests](https://www.twilio.com/blog/2017/08/http-requests-in-node-js.html) to the Zoom API. What is your full use case so I can provide advice on what type of [Zoom App](https://marketplace.zoom.us/docs/guides/getting-started/app-types) to create ([JWT](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app) vs. [OAuth](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-oauth-app))? Nevertheless, I have fixed your code, and now you can get an access\_token, but when you call the create meeting endpoint you will get a Invalid CORS request error because we do not support https://cors-anywhere.herokuapp.com/ (…

Let me know if this helps!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![palanirajan70](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@palanirajan70](https://devforum.zoom.us/u/palanirajan70)\
**Post date:** [November 27, 2019, 9:44am UTC](https://devforum.zoom.us/t/create-meeting-error/6802/3 "2019-11-27T09:44:52Z")

</div>

Thanks @tommy.

Hi Tommy.It Works.Thank you for your timely suggestion.

---

<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 27, 2019, 5:18pm UTC](https://devforum.zoom.us/t/create-meeting-error/6802/4 "2019-11-27T17:18:54Z")

</div>

Awesome, happy to help! 🙂

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, 7:05pm UTC](https://devforum.zoom.us/t/create-meeting-error/6802/5 "2020-08-21T19:05:20Z")

</div>


