# Invalid Token! (invalid\_grant) when trying to renew a refresh token on our app

**URL:** <https://devforum.zoom.us/t/invalid-token-invalid-grant-when-trying-to-renew-a-refresh-token-on-our-app/70766>\
**Category:** API and Webhooks\
**Created:** [June 20, 2022, 9:22am UTC](https://devforum.zoom.us/t/invalid-token-invalid-grant-when-trying-to-renew-a-refresh-token-on-our-app/70766 "2022-06-20T09:22:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![apps.test](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@apps.test](https://devforum.zoom.us/u/apps.test)\
**Post date:** [June 20, 2022, 9:22am UTC](https://devforum.zoom.us/t/invalid-token-invalid-grant-when-trying-to-renew-a-refresh-token-on-our-app/70766/1 "2022-06-20T09:22:48Z")

</div>

**Description**  
_Details on your question or the problem you’re trying to solve._

\*\*Error - \*\*  
{  
“reason”: “Invalid Token!”,  
“error”: “invalid\_grant”  
}

**API Endpoint/s?**  
_[https://api.zoom.us//oauth/token/](https://api.zoom.us//oauth/token/)_ -  
full endpoint -  
[https://api.zoom.us//oauth/token?grant\_type=refresh\_token&refresh\_token=eyJhbGciOiJIUzUxMiIsInYiOiIyLjAiLCJraWQiOiI3ODQxNDc3OC1jOWU5LTQzZDEtODI0ZS1iMTAwYzAxZDgwNjIifQ.eyJ2ZXIiOjcsImF1aWQiOiJkMjI1ZGMzNjc1ZjYwMTgxMTEzYzQxMTM0MWRjZGFjNyIsImNvZGUiOiJpMkhKS2ZiazJ4XzZhemViUmhhVGllVnVtVE51UFh5aUEiLCJpc3MiOiJ6bTpjaWQ6Z0xFT29Wal9Sd0tZQ0ZLOVFjczFRIiwiZ25vIjowLCJ0eXBlIjoxLCJ0aWQiOjU3OCwiYXVkIjoiaHR0cHM6Ly9vYXV0aC56b29tLnVzIiwidWlkIjoiNmF6ZWJSaGFUaWVWdW1UTnVQWHlpQSIsIm5iZiI6MTY1MjAwMTQ1NiwiZXhwIjoyMTI1MDQxNDU2LCJpYXQiOjE2NTIwMDE0NTYsImFpZCI6IlFhVHcxQWZSUjZTS3g1cWNJdDY0S2ciLCJqdGkiOiIzNjgzZmY4MC00ZWVhLTQyNGItODg1My05ODgyZDFiYjNlOGEifQ.HeVqokB8IN0FpZt8R6rbk6obza60mSmr4A1Qs7uti-o9efCa9YdNmYSyibgbOs8Yv8PTxxTXG183mZVCdTnHsQ&client\_id=gLEOoVj\_RwKYCFK9Qcs1Q&client\_secret=4wd4QXmr4sjLve4yVb4iOWgPm47gFxLt](https://api.zoom.us//oauth/token?grant_type=refresh_token&refresh_token=eyJhbGciOiJIUzUxMiIsInYiOiIyLjAiLCJraWQiOiI3ODQxNDc3OC1jOWU5LTQzZDEtODI0ZS1iMTAwYzAxZDgwNjIifQ.eyJ2ZXIiOjcsImF1aWQiOiJkMjI1ZGMzNjc1ZjYwMTgxMTEzYzQxMTM0MWRjZGFjNyIsImNvZGUiOiJpMkhKS2ZiazJ4XzZhemViUmhhVGllVnVtVE51UFh5aUEiLCJpc3MiOiJ6bTpjaWQ6Z0xFT29Wal9Sd0tZQ0ZLOVFjczFRIiwiZ25vIjowLCJ0eXBlIjoxLCJ0aWQiOjU3OCwiYXVkIjoiaHR0cHM6Ly9vYXV0aC56b29tLnVzIiwidWlkIjoiNmF6ZWJSaGFUaWVWdW1UTnVQWHlpQSIsIm5iZiI6MTY1MjAwMTQ1NiwiZXhwIjoyMTI1MDQxNDU2LCJpYXQiOjE2NTIwMDE0NTYsImFpZCI6IlFhVHcxQWZSUjZTS3g1cWNJdDY0S2ciLCJqdGkiOiIzNjgzZmY4MC00ZWVhLTQyNGItODg1My05ODgyZDFiYjNlOGEifQ.HeVqokB8IN0FpZt8R6rbk6obza60mSmr4A1Qs7uti-o9efCa9YdNmYSyibgbOs8Yv8PTxxTXG183mZVCdTnHsQ&client_id=gLEOoVj_RwKYCFK9Qcs1Q&client_secret=4wd4QXmr4sjLve4yVb4iOWgPm47gFxLt)

**Additional context**  
_we are trying to refresh the refresh token and getting this error , we are saving tokens properly, we are getting this error since last one month_

---

<div class="post-metadata">

**Author:** ![rarev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rarev/32/38939_2.png) [@rarev](https://devforum.zoom.us/u/rarev)\
**Post date:** [June 21, 2022, 5:35pm UTC](https://devforum.zoom.us/t/invalid-token-invalid-grant-when-trying-to-renew-a-refresh-token-on-our-app/70766/2 "2022-06-21T17:35:50Z")

</div>

Hi @apps.test,

In this case we usually recommend to reauthorize the app and get a brand new bearer token and refresh token.

It could be that you are trying to use an older refresh token that is no longer valid. It appears that this token was issued on May 8th 2022. Do you have any other more recent tokens?

Let us know!

---

<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:** [July 22, 2022, 3:36am UTC](https://devforum.zoom.us/t/invalid-token-invalid-grant-when-trying-to-renew-a-refresh-token-on-our-app/70766/3 "2022-07-22T03:36:09Z")

</div>

Closed on July 22, 2022, 3:36am UTC

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