# Getting 403 on Requesting Access Token for OAuth

**URL:** <https://devforum.zoom.us/t/getting-403-on-requesting-access-token-for-oauth/46227>\
**Category:** API and Webhooks\
**Created:** [March 22, 2021, 1:38pm UTC](https://devforum.zoom.us/t/getting-403-on-requesting-access-token-for-oauth/46227 "2021-03-22T13:38:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![angel.webinars](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/angel.webinars/32/24876_2.png) [@angel.webinars](https://devforum.zoom.us/u/angel.webinars)\
**Post date:** [March 22, 2021, 1:38pm UTC](https://devforum.zoom.us/t/getting-403-on-requesting-access-token-for-oauth/46227/1 "2021-03-22T13:38:02Z")

</div>

While requesting for access token I am getting 403 status

App Type - OAuth

endpoint- [https://zoom.us/oauth/token](https://zoom.us/oauth/token)

params- {‘grant\_type’: ‘authorization\_code’, ‘code’: ‘code getting from the 1 step’, ‘redirect\_url’: ‘[REDACTED]’}

headers- {‘Authorization’: 'Basic encoded\_token ', ‘Content-type’: ‘application/json’}

**Additional context**  
I am following all the steps of the OAuth document. But no success getting 403 every time.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 22, 2021, 10:40pm UTC](https://devforum.zoom.us/t/getting-403-on-requesting-access-token-for-oauth/46227/2 "2021-03-22T22:40:04Z")

</div>

Hey @angel.webinars,

Thank you for reaching out to the Zoom Developer Forum. First, please make sure that you’ve added your `redirect_uri` [on your app settings page and whitelisted that URL](https://marketplace.zoom.us/docs/guides/build/oauth-app#app-credentials).

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

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![angel.webinars](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/angel.webinars/32/24876_2.png) [@angel.webinars](https://devforum.zoom.us/u/angel.webinars)\
**Post date:** [March 23, 2021, 4:29am UTC](https://devforum.zoom.us/t/getting-403-on-requesting-access-token-for-oauth/46227/3 "2021-03-23T04:29:35Z")

</div>

hi Max,

Thanks for your Reply.  
I had added my redirect uri in both places

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 23, 2021, 7:44pm UTC](https://devforum.zoom.us/t/getting-403-on-requesting-access-token-for-oauth/46227/4 "2021-03-23T19:44:35Z")

</div>

Hey @angel.webinars,

Make sure that you are setting `grant_type`, `code` and `redirect_uri` as [query parameters](https://marketplace.zoom.us/docs/guides/auth/oauth#step-2-request-access-token) instead of in a JSON object:

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

> [@angel.webinars](#):
>
> ‘redirect\_url’

Here you’re using redirect\_url (ending with an L) whereas the parameter is redirect\_uri (ending with an i). I just want to make sure that’s known in case that’s causing any issues.

Also, please make sure that URL is accessible publicly and working as expected. When I navigate to that page, I see an error.

If that doesn’t help, please send an email to [developersupport@zoom.us](mailto:developersupport@zoom.us) with a link to this thread. In that email, please include the full request that you’re making - including the request body as well as the response that you’re seeing.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![angel.webinars](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/angel.webinars/32/24876_2.png) [@angel.webinars](https://devforum.zoom.us/u/angel.webinars)\
**Post date:** [March 24, 2021, 4:52am UTC](https://devforum.zoom.us/t/getting-403-on-requesting-access-token-for-oauth/46227/5 "2021-03-24T04:52:20Z")

</div>

Yes, that was the issue… Thanks

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 24, 2021, 8:18pm UTC](https://devforum.zoom.us/t/getting-403-on-requesting-access-token-for-oauth/46227/6 "2021-03-24T20:18:23Z")

</div>

I’m glad to hear that helped resolve the issue! Feel free to reach out if you encounter any further issues or questions.

Max

---

<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:** [April 24, 2021, 6:18am UTC](https://devforum.zoom.us/t/getting-403-on-requesting-access-token-for-oauth/46227/7 "2021-04-24T06:18:35Z")

</div>

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