# Oauth refresh 401 error

**URL:** <https://devforum.zoom.us/t/oauth-refresh-401-error/56793>\
**Category:** API and Webhooks\
**Created:** [September 1, 2021, 2:42pm UTC](https://devforum.zoom.us/t/oauth-refresh-401-error/56793 "2021-09-01T14:42:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ross](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ross/32/18028_2.png) [@ross](https://devforum.zoom.us/u/ross)\
**Post date:** [September 1, 2021, 2:42pm UTC](https://devforum.zoom.us/t/oauth-refresh-401-error/56793/1 "2021-09-01T14:42:01Z")

</div>

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

**Description**  
When getting oauth token first time, refreshing access token succeed.  
But, after few days, refreshing access token returns 401 Unauthorized error.  
What could make this happen?

**Error**  
The full error message or issue you are running into.

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

**Which Endpoint/s?**  
[https://zoom.us/oauth/token?grant\_type=refresh\_token&refresh\_token={}](https://zoom.us/oauth/token?grant_type=refresh_token&refresh_token=%7B%7D)

---

<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:** [September 7, 2021, 10:53pm UTC](https://devforum.zoom.us/t/oauth-refresh-401-error/56793/2 "2021-09-07T22:53:25Z")

</div>

Hey @ross,

Thank you for reaching out to the Zoom Developer Forum. When you request a new access\_token, the previous refresh\_token becomes invalidated. It sounds like a new access\_token was requested - maybe as part of testing - and this caused the refresh\_token that was held to be invalid.

Let me know if that helps.

Thanks,  
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:** [October 8, 2021, 8:53am UTC](https://devforum.zoom.us/t/oauth-refresh-401-error/56793/3 "2021-10-08T08:53:55Z")

</div>

Closed on October 8, 2021, 8:53am UTC

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