# How to Prevent Zoom Access Token Expired (124) Error in Salesforce?

**URL:** <https://devforum.zoom.us/t/how-to-prevent-zoom-access-token-expired-124-error-in-salesforce/137652>\
**Category:** Authentication\
**Tags:** api\
**Created:** [September 25, 2025, 12:22pm UTC](https://devforum.zoom.us/t/how-to-prevent-zoom-access-token-expired-124-error-in-salesforce/137652 "2025-09-25T12:22:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cafer](https://avatars.discourse-cdn.com/v4/letter/c/2bfe46/32.png) [@cafer](https://devforum.zoom.us/u/cafer)\
**Post date:** [September 25, 2025, 12:22pm UTC](https://devforum.zoom.us/t/how-to-prevent-zoom-access-token-expired-124-error-in-salesforce/137652/1 "2025-09-25T12:22:10Z")

</div>

**Integration Overview**

- We have built a **custom Salesforce integration** with Zoom for Meetings and Phone Calls.

- The app is created as a **General App (Account Level)** in Zoom Marketplace.

- From Salesforce, we can successfully create meetings/phone calls and retrieve recordings and transcripts.

**Authentication Setup**

- Using **Named Credentials** + **Auth Provider** in Salesforce.

- Access tokens refresh dynamically during normal usage.

**Issue Description**

- After not using the integration for a long period, we received the following error:

- The issue was temporarily resolved by **editing and re-saving** the Named Credential in Salesforce.

**Question**

- How can we prevent this error from happening again in Salesforce?

- Is there a best practice to handle long inactivity periods or to programmatically force a token refresh before expiration?

---

<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:** [September 25, 2025, 7:20pm UTC](https://devforum.zoom.us/t/how-to-prevent-zoom-access-token-expired-124-error-in-salesforce/137652/2 "2025-09-25T19:20:41Z")

</div>

Hi @cafer ,

> [@cafer](#):
>
> The app is created as a **General App (Account Level)** in Zoom Marketplace.

Though this guide is for S2S OAuth, the foundational principles apply and can give you some inspiration on how to handle token expiration in your app’s architecture: [Server-to-Server OAuth and scaling token management](https://developers.zoom.us/blog/s2s-token-management/)

---

<div class="post-metadata">

**Author:** ![cafer](https://avatars.discourse-cdn.com/v4/letter/c/2bfe46/32.png) [@cafer](https://devforum.zoom.us/u/cafer)\
**Post date:** [November 25, 2025, 12:35pm UTC](https://devforum.zoom.us/t/how-to-prevent-zoom-access-token-expired-124-error-in-salesforce/137652/4 "2025-11-25T12:35:10Z")

</div>

Hi everyone,

We have integrated Salesforce with our Zoom Enterprise Org, handling sub-accounts as well. Currently, we use a **General App (User-managed OAuth),** which allows us to:

1. Match the logged-in Salesforce user with their Zoom account (via email and Zoom phone number, example: 863) to start meetings and calls on their behalf.

2. Fetch recordings for all users using Parent Account credentials.

**The Issue:** The Refresh Token for the General App expires every 90 days, requiring manual re-authorization in Salesforce.

**Why we are not using Server-to-Server (S2S) OAuth:** We attempted to use S2S OAuth, but we faced limitations when trying to initiate calls/meetings, specifically _on behalf of_ the logged-in user with the correct context. Therefore, we reverted to the General App.

**Question:** Is there a way to automate the token renewal process or a specific configuration within Salesforce/Zoom that prevents the need for manual re-authorization every 90 days, while retaining the ability to start meetings as a specific user?"

---

<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:** [December 1, 2025, 3:50pm UTC](https://devforum.zoom.us/t/how-to-prevent-zoom-access-token-expired-124-error-in-salesforce/137652/5 "2025-12-01T15:50:23Z")

</div>

Hi @cafer

> [@cafer](#):
>
> **The Issue:** The Refresh Token for the General App expires every 90 days, requiring manual re-authorization in Salesforce.

While refresh tokens expires every 90 days, each time you refresh an access token, you get an updated refresh token in the response. Zoom best practice is that you should always use the latest refresh token for the next refresh request as this also advances the expiry. This means if the user is actively using the app, you wouldn’t really have a need for manual re-authorization. This would only really happen if say the user uses the app and then doesn’t use it again for 90+ days, thereby requiring re-auth.
