# Suddenly getting {"reason":"Invalid Token!","error":"invalid\_grant"} on app that's been working for years

**URL:** <https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900>\
**Category:** Authentication\
**Created:** [January 23, 2023, 6:12am UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900 "2023-01-23T06:12:50Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![hireauthority](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hireauthority/32/38815_2.png) [@hireauthority](https://devforum.zoom.us/u/hireauthority)\
**Post date:** [January 23, 2023, 6:12am UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/1 "2023-01-23T06:12:50Z")

</div>

We are suddenly unable to use refresh token(s) to renew our access token.  
I’ve manually created a new refresh token twice, but no matter what we are still receiving {“reason”:“Invalid Token!”,“error”:“invalid\_grant”}

We use a PHP script that runs every 30 minutes to refresh our access token with a CURL call.  
It’s been working flawlessly for years up until 11:30PM EST yesterday.

---

<div class="post-metadata">

**Author:** ![wafflestomper730](https://avatars.discourse-cdn.com/v4/letter/w/9de053/32.png) [@wafflestomper730](https://devforum.zoom.us/u/wafflestomper730)\
**Post date:** [January 23, 2023, 12:14pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/2 "2023-01-23T12:14:32Z")

</div>

I started having the same issue at approximately the same time. The app no longer existed in the Marketplace under my developer account [App Marketplace](https://marketplace.zoom.us/user/build)

Someone else pointed out Degraded Performance for the REST API on the status page - [https://status.zoom.us/](https://status.zoom.us/) Perhaps somebody deleted something they shouldn’t have.

I created another app and reauthorized it (easy for me as it is a private app with only 2 users) and its working again.

---

<div class="post-metadata">

**Author:** ![hireauthority](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hireauthority/32/38815_2.png) [@hireauthority](https://devforum.zoom.us/u/hireauthority)\
**Post date:** [January 23, 2023, 1:20pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/3 "2023-01-23T13:20:16Z")

</div>

Our app is like yours (private 2 user), except that ours still exists. It just no longer recognizes the latest refresh token.

---

<div class="post-metadata">

**Author:** ![sgani](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sgani/32/4519_2.png) [@sgani](https://devforum.zoom.us/u/sgani)\
**Post date:** [January 23, 2023, 2:00pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/4 "2023-01-23T14:00:17Z")

</div>

Noting here that we’re also having issues with our refresh tokens, starting around Jan 22 2023 11:40PM ET.

---

<div class="post-metadata">

**Author:** ![hireauthority](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hireauthority/32/38815_2.png) [@hireauthority](https://devforum.zoom.us/u/hireauthority)\
**Post date:** [January 23, 2023, 2:07pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/5 "2023-01-23T14:07:01Z")

</div>

Yep. Our logs show the failures began at the same time. Problem still persists.

---

<div class="post-metadata">

**Author:** ![hireauthority](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hireauthority/32/38815_2.png) [@hireauthority](https://devforum.zoom.us/u/hireauthority)\
**Post date:** [January 23, 2023, 2:07pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/6 "2023-01-23T14:07:58Z")

</div>

Is there a way to get someone from Zoom to respond?

---

<div class="post-metadata">

**Author:** ![sgani](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sgani/32/4519_2.png) [@sgani](https://devforum.zoom.us/u/sgani)\
**Post date:** [January 23, 2023, 2:21pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/7 "2023-01-23T14:21:48Z")

</div>

Looks like Zoom has declared this an incident, got an email `Zoom Incident - A subset of users not able to use oauth for authentication.`.

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [January 23, 2023, 2:39pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/8 "2023-01-23T14:39:19Z")

</div>

@sgani , @hireauthority , and @wafflestomper730 ,  
We apologize for the inconvenience caused, our team is diligently working on investigating and fixing this and we hope to update you as soon as possible. We appreciate your patience as we are working on fixing this issue.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [January 23, 2023, 2:54pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/9 "2023-01-23T14:54:24Z")

</div>

Hi @hireauthority , @wafflestomper730, @sgani , this issue should now be resolved. Can you confirm you’re now able to successfully refresh access tokens to apps previously returning errors. You should not need to reauthenticate, existing refresh tokens will now work.

Our apologies for the disruption and thank you for reporting here.

This service status here will be updated shortly as we continue to confirm - [Zoom Status - A subset of users not able to use oauth for authentication.](https://status.zoom.us/incidents/c48nty1n9t1r)

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [January 23, 2023, 2:58pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/10 "2023-01-23T14:58:33Z")

</div>

We’ve now moved this issue status to monitoring - [Zoom Status - A subset of users not able to use oauth for authentication.](https://status.zoom.us/incidents/c48nty1n9t1r)

Please let us know if you are seeing this resolved, we believe it to be fixed globally 🙏

---

<div class="post-metadata">

**Author:** ![sgani](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sgani/32/4519_2.png) [@sgani](https://devforum.zoom.us/u/sgani)\
**Post date:** [January 23, 2023, 3:04pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/11 "2023-01-23T15:04:18Z")

</div>

@michael.zoom , @ojus.zoom - looks like we’re able to refresh access tokens, TY!

---

<div class="post-metadata">

**Author:** ![hireauthority](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hireauthority/32/38815_2.png) [@hireauthority](https://devforum.zoom.us/u/hireauthority)\
**Post date:** [January 23, 2023, 3:14pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/12 "2023-01-23T15:14:02Z")

</div>

Confirmed. Thank you.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [January 23, 2023, 3:45pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/13 "2023-01-23T15:45:21Z")

</div>

@sgani , @hireauthority , thanks for confirming. We’ve moved our status page to resolved. Again, our apologies for the disruption.

> **[A subset of users not able to use oauth for authentication.](https://status.zoom.us/incidents/c48nty1n9t1r)**
>
> Zoom's Status Page - A subset of users not able to use oauth for authentication..

---

<div class="post-metadata">

**Author:** ![gauravdev](https://avatars.discourse-cdn.com/v4/letter/g/6a8cbe/32.png) [@gauravdev](https://devforum.zoom.us/u/gauravdev)\
**Post date:** [January 23, 2023, 3:49pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/14 "2023-01-23T15:49:42Z")

</div>

Hello,

We are currently using JWT with websdk 2.6.0. which will be deprecated in June 2023. Now we want to use server to server oauth app. I have a query regarding server to server oauth app using ZoomMtg. I am able to get Access token and Create meeting using simple api calls using server to server oauth account id, client id and client secret. Getting a response with start url, join url, meeting id, password etc. Now we want to integrate it with our web application. I am having trouble using ZoomMtg with Server to server oauth. Please help in this regard.

Thank you  
@michael.zoom

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [January 23, 2023, 3:53pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/15 "2023-01-23T15:53:44Z")

</div>

Hi @gauravdev, I’d recommend opening a new topic in this category for your question 🙂

(Please do open a new post, but as a quick note, I do not believe that server-to-server OAuth client IDs are intended to initialize the Web Meeting SDK. Do you get the same behavior with the client ID in an SDK app or a standard OAuth app?)

---

<div class="post-metadata">

**Author:** ![gauravdev](https://avatars.discourse-cdn.com/v4/letter/g/6a8cbe/32.png) [@gauravdev](https://devforum.zoom.us/u/gauravdev)\
**Post date:** [January 23, 2023, 3:59pm UTC](https://devforum.zoom.us/t/suddenly-getting-reason-invalid-token-error-invalid-grant-on-app-thats-been-working-for-years/81900/16 "2023-01-23T15:59:45Z")

</div>

Apologies, I have opened a new topic and tagged you there.
