# Getting invalid\_grant error when trying to refresh token

**URL:** <https://devforum.zoom.us/t/getting-invalid-grant-error-when-trying-to-refresh-token/62869>\
**Category:** API and Webhooks\
**Created:** [January 19, 2022, 9:01am UTC](https://devforum.zoom.us/t/getting-invalid-grant-error-when-trying-to-refresh-token/62869 "2022-01-19T09:01:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergey.fursov](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sergey.fursov/32/18136_2.png) [@sergey.fursov](https://devforum.zoom.us/u/sergey.fursov)\
**Post date:** [January 19, 2022, 9:01am UTC](https://devforum.zoom.us/t/getting-invalid-grant-error-when-trying-to-refresh-token/62869/1 "2022-01-19T09:01:07Z")

</div>

**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 responses, but nothing with invalid\_grant errors. What it could mean?

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [January 19, 2022, 3:03pm UTC](https://devforum.zoom.us/t/getting-invalid-grant-error-when-trying-to-refresh-token/62869/2 "2022-01-19T15:03:03Z")

</div>

Hi @sergey.fursov,

Thank you for sharing this – can you please submit this problem to [support](https://zoom.us/zendesk/sso?return_to=https://support.zoom.us/hc/requests/new?ticket_form_id=360000996591) with:

- your production client id
- the email of the user experiencing this error
- the full url on the error page they’re seeing along with a screen shot of the error
- the full error response

Thanks,  
Gianni

---

<div class="post-metadata">

**Author:** ![sergey.fursov](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sergey.fursov/32/18136_2.png) [@sergey.fursov](https://devforum.zoom.us/u/sergey.fursov)\
**Post date:** [January 20, 2022, 12:16pm UTC](https://devforum.zoom.us/t/getting-invalid-grant-error-when-trying-to-refresh-token/62869/3 "2022-01-20T12:16:19Z")

</div>

just posted a new support request (13274976)

---

<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:** [January 25, 2022, 12:20am UTC](https://devforum.zoom.us/t/getting-invalid-grant-error-when-trying-to-refresh-token/62869/4 "2022-01-25T00:20:04Z")

</div>

@sergey.fursov Thank you for submitting a ticket! We’ll follow up with you there.

---

<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:** [January 25, 2022, 12:20am UTC](https://devforum.zoom.us/t/getting-invalid-grant-error-when-trying-to-refresh-token/62869/5 "2022-01-25T00:20:08Z")

</div>


