Getting status 403 when trying to get oAuth access token

I’m trying to get an oAuth access token from a user, but I keep getting the 403 forbidden error when sending the POST request.

I have followed the tutorial at religiously. I have even checked previous threads that talked about this error, but still couldn’t fix it

How To Reproduce (If applicable)
var fetchURL = ‘

const response = await fetch(fetchURL, {method:“POST”, headers{ “Authorization” : "Basic " + encoded_cred}})

–> encoded cred is encoded in base64 and contains Client_ID:Client_Secret

Please help, thank you.

Hey @po123

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. :slightly_smiling_face:

Checkout this related thread that may have the answer you are looking for:

If this thread did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.


I’ve looked there, but it doesn’t help me. Please send a developer relations member. Thanks

Hey @po123,

What content type are you setting for your request?

Try setting "Content-Type": "application/json" in the header. :slight_smile:


@tommy Hi, thanks for your reply. I tried that, but it’s still returning 403 error. I’m trying to use localhost as the redirect URI, is that potentially a problem?

Here are my headers:
{method:“POST”, headers:{ “Authorization”:"Basic " + encoded_cred, “Content-Type”: “application/json”}

Here is the response I received:

Thanks in advance

Hey @po123,

I have just private messaged you. :slight_smile:


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