# Zoom Refresh token invalidated when there is a timeout and app left in unusable state

**URL:** <https://devforum.zoom.us/t/zoom-refresh-token-invalidated-when-there-is-a-timeout-and-app-left-in-unusable-state/105680>\
**Category:** Authentication\
**Created:** [March 13, 2024, 7:04pm UTC](https://devforum.zoom.us/t/zoom-refresh-token-invalidated-when-there-is-a-timeout-and-app-left-in-unusable-state/105680 "2024-03-13T19:04:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![systemProc](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@systemProc](https://devforum.zoom.us/u/systemProc)\
**Post date:** [March 13, 2024, 7:04pm UTC](https://devforum.zoom.us/t/zoom-refresh-token-invalidated-when-there-is-a-timeout-and-app-left-in-unusable-state/105680/1 "2024-03-13T19:04:17Z")

</div>

Our App Details are:  
Client ID: puc2D\_c9Raaxxs4UxGzNOg  
App Name: CalDotCom

Whenever a request to get a new access token times out the refresh token is no longer valid and it starts returning an invalid\_token (i.e. invalid refresh token) error as the failure reason.

We need to be able to retry with the last token because of failure reasons like this. A tolerance of 2 or 3 refresh token being valid concurrently will be highly appreciated. This app is used to manage meeting bookings across our entire organisation from our booking tool and this failure breaks the system both our team members and clients don’t get any meeting links after bookings occur or can no longer have meetings booked this is crippling many processes.

Kindly treat as urgent.

---

<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:** [March 14, 2024, 4:18am UTC](https://devforum.zoom.us/t/zoom-refresh-token-invalidated-when-there-is-a-timeout-and-app-left-in-unusable-state/105680/2 "2024-03-14T04:18:38Z")

</div>

@systemProc @seanbuffer ,

Are you two coordinating efforts and requesting token tolerance increases for prod and dev apps?

---

<div class="post-metadata">

**Author:** ![seanbuffer](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/seanbuffer/32/57467_2.png) [@seanbuffer](https://devforum.zoom.us/u/seanbuffer)\
**Post date:** [March 14, 2024, 6:46am UTC](https://devforum.zoom.us/t/zoom-refresh-token-invalidated-when-there-is-a-timeout-and-app-left-in-unusable-state/105680/4 "2024-03-14T06:46:31Z")

</div>

Exactly. That’s what we’re up to

---

<div class="post-metadata">

**Author:** ![systemProc](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@systemProc](https://devforum.zoom.us/u/systemProc)\
**Post date:** [March 14, 2024, 7:55am UTC](https://devforum.zoom.us/t/zoom-refresh-token-invalidated-when-there-is-a-timeout-and-app-left-in-unusable-state/105680/5 "2024-03-14T07:55:19Z")

</div>

@gianni.zoom,

Yes, that’s the case.

---

<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:** [March 18, 2024, 7:03pm UTC](https://devforum.zoom.us/t/zoom-refresh-token-invalidated-when-there-is-a-timeout-and-app-left-in-unusable-state/105680/6 "2024-03-18T19:03:07Z")

</div>

Thanks for confirming!

---

<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:** [March 19, 2024, 12:40am UTC](https://devforum.zoom.us/t/zoom-refresh-token-invalidated-when-there-is-a-timeout-and-app-left-in-unusable-state/105680/7 "2024-03-19T00:40:38Z")

</div>

Hi @systemProc @seanbuffer ,

I learned we don’t use token tolerance mechanism for OAuth apps now.

A refresh token can be used to fetch a new access token and refresh token again and again until it expires after 90 days. The refresh token does not becomes invalid after it is used to fetch a new access token and new refresh token. The refresh token becomes invalid only in these three conditions:

- refresh tokens expired ( after 90 days)
- customer uninstalls the app
- customer reauthorized the app

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/0/f09d613c1cfe3feb86227fb55101e6ab75f404f3.png)

They checked the 15 day call log for the client id and saw some API calls to fetch a new access token using the refresh token failed because either of the following reasons:

1. User has reauthorized but customer made the API call with old refresh token. Since user has reauthorized that old refresh token is revoked or became invalid now.
2. Incorrect refresh token value. The refresh token sent in API call doesn’t have valid JSON format.

---

<div class="post-metadata">

**Author:** ![seanbuffer](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/seanbuffer/32/57467_2.png) [@seanbuffer](https://devforum.zoom.us/u/seanbuffer)\
**Post date:** [March 20, 2024, 9:16am UTC](https://devforum.zoom.us/t/zoom-refresh-token-invalidated-when-there-is-a-timeout-and-app-left-in-unusable-state/105680/8 "2024-03-20T09:16:17Z")

</div>

Hi @gianni.zoom,

Noted with thanks. We’ll harden our system around the stated behavior.

---

<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:** [March 20, 2024, 2:04pm UTC](https://devforum.zoom.us/t/zoom-refresh-token-invalidated-when-there-is-a-timeout-and-app-left-in-unusable-state/105680/9 "2024-03-20T14:04:26Z")

</div>

Alrighty, sounds good!
