# POST Oauth Authorization token failure

**URL:** <https://devforum.zoom.us/t/post-oauth-authorization-token-failure/49625>\
**Category:** API and Webhooks\
**Created:** [May 5, 2021, 12:25pm UTC](https://devforum.zoom.us/t/post-oauth-authorization-token-failure/49625 "2021-05-05T12:25:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marvieir](https://avatars.discourse-cdn.com/v4/letter/m/4da419/32.png) [@marvieir](https://devforum.zoom.us/u/marvieir)\
**Post date:** [May 5, 2021, 12:25pm UTC](https://devforum.zoom.us/t/post-oauth-authorization-token-failure/49625/1 "2021-05-05T12:25:51Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
after requesting an authorization token and it expire we try to request to renew the token and we receive a failure message. for many times the same problem is happening

**Error**  
Client error: `POST https://zoom.us/oauth/token?grant_type=authorization_code&code=[Redacted]&redirect_uri=[Redacted]` resulted in a `400 Bad Request` response:\n{"reason":"Invalid authorization code [Redacted]","error":"invalid\_request"}\n",)

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**  
Client error: `POST https://zoom.us/oauth/token?grant_type=authorization_code&code=[Redacted]&redirect_uri=[Redacted]` resulted in a `400 Bad Request` response:\n{"reason":"Invalid authorization code [Redacted]","error":"invalid\_request"}\n",)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:  
Client error: `POST https://zoom.us/oauth/token?grant_type=authorization_code&code=[Redacted]&redirect_uri=http:/[Redacted]` resulted in a `400 Bad Request` response:\n{"reason":"Invalid authorization code [Redacted]","error":"invalid\_request"}\n",)

**Screenshots (If applicable)**  
there is no screenshot bbut a error message

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [May 6, 2021, 2:58am UTC](https://devforum.zoom.us/t/post-oauth-authorization-token-failure/49625/2 "2021-05-06T02:58:49Z")

</div>

Hi, @marvieir,  
Thank you for posting in the Developer Forum. Please make sure you are using the latest token. More details on refreshing Access tokens can be found in our help documentation. You may also be interested in checking out this helpful developer Forum post linked below.

Help Documentation :  
[https://marketplace.zoom.us/docs/guides/auth/oauth#using-access-token](https://marketplace.zoom.us/docs/guides/auth/oauth#using-access-token)

Developer Forum post :

> [@"Invalid Token!" error message when trying to refresh oauth token](https://devforum.zoom.us/t/invalid-token-error-message-when-trying-to-refresh-oauth-token/13363/80):
>
> Hey @pablo.fredes, Please try the [OAuth and refresh flow](https://marketplace.zoom.us/docs/guides/auth/oauth) in [Postman](https://www.postman.com/) and see if it works. It could very well be a misconfiguration in your code. Thanks, Tommy

Let me know if this helps,  
Donte

---

<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:** [June 5, 2021, 12:59pm UTC](https://devforum.zoom.us/t/post-oauth-authorization-token-failure/49625/3 "2021-06-05T12:59:05Z")

</div>

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