# Same problem happened.( Getting invalid\_grant error when trying to refresh token)

**URL:** <https://devforum.zoom.us/t/same-problem-happened-getting-invalid-grant-error-when-trying-to-refresh-token/67675>\
**Category:** API and Webhooks\
**Created:** [April 18, 2022, 8:58am UTC](https://devforum.zoom.us/t/same-problem-happened-getting-invalid-grant-error-when-trying-to-refresh-token/67675 "2022-04-18T08:58:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![naotoshi.nishijima](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/naotoshi.nishijima/32/8932_2.png) [@naotoshi.nishijima](https://devforum.zoom.us/u/naotoshi.nishijima)\
**Post date:** [April 18, 2022, 8:58am UTC](https://devforum.zoom.us/t/same-problem-happened-getting-invalid-grant-error-when-trying-to-refresh-token/67675/1 "2022-04-18T08:58:11Z")

</div>

I had the same problem with the following topic.

> [@Getting invalid\_grant error when trying to refresh token](https://devforum.zoom.us/t/getting-invalid-grant-error-when-trying-to-refresh-token/62869):
>
> Description after getting 401 response with the {‘code’: 124, ‘message’: ‘Access token is expired.’} json I’m trying to refresh the user’s access token with previously got refresh token. I’m getting {error: ‘invalid\_grant’, reason: ‘Invalid Token!’} as a response to the /oauth/token?grant\_type=refresh\_token&refresh\_token=\<refresh\_token\> request. Error is raised for a particular user connected via oauth, all other users work perfectly fine. I’ve seen topics with invalid\_request error response…

What are the possible causes and solutions?

---

<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:** [April 21, 2022, 10:24am UTC](https://devforum.zoom.us/t/same-problem-happened-getting-invalid-grant-error-when-trying-to-refresh-token/67675/2 "2022-04-21T10:24:06Z")

</div>

Welcome to the Developer Forum, @naotoshi.nishijima – thank you for posting! Generally, this error is triggered when the latest refresh token is not used in the request. To start, can you confirm if you are using the latest refresh token? Please note while a refresh token is validated for 15 years, it can only be used once.

 ![Screen Shot 2022-04-21 at 5.25.27 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/2/12e729d0a7724204df34d7b626d2f3dee312cc80.png)

---

<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:** [May 21, 2022, 8:24pm UTC](https://devforum.zoom.us/t/same-problem-happened-getting-invalid-grant-error-when-trying-to-refresh-token/67675/3 "2022-05-21T20:24:32Z")

</div>

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