Create schedule meeting getting : 403 forbidden error and in response: Invalid CORS request

#1
        const url1="https://api.zoom.us/v2/users/example@gmail.com/meetings"
        $.ajax({
            url:url1,
            type: "POST",
            data:JSON.stringify(datainfo),
             username: "example@gmail.com",
            dataType: "json",
            beforeSend: function (xhr) { xhr.setRequestHeader('Authorization', "Bearer <token>");
              xhr.setRequestHeader("Content-Type","application/json")
        },
          success: function (reponse) {
            
                      console.log(reponse)
                  }
              });
0 Likes

403 error while making create schedule api call
#2

Hi,

Can you try the following:

  1. Install an interceptor extension to chrome, then enable it.

  2. Then add an “Origin” header to your request as below:
    Origin : https://developer.zoom.us

Let me know if it helps

0 Likes

#3

This is the error getting after following that two steps

0 Likes