Skip to main content

OAUTH_TOKEN_EXPIRED

What this means

The stored OAuth credentials for an action or connector have expired, and Glean can't refresh them automatically. This typically happens when the source system's access token has a short lifetime and the refresh token is either missing or has also expired.

What to do as a teammate

  1. Re-run the agent or action that triggered the error.
  2. When prompted, click Connect to re-authenticate with the source system.
  3. After re-authenticating, retry your original request.

What to do as an admin

If teammates are repeatedly hitting this error:

  1. Confirm which authentication method the action pack uses — Central or Custom — in Admin Console → Platform → Actions.
  2. If the action pack uses a Custom OAuth app, verify that the app's refresh token policy in the source system allows long-lived refresh tokens. Short-lived refresh tokens cause frequent re-authentication prompts.
  3. Verify that the custom OAuth app's client secret hasn't been rotated or revoked in the source system.

For more guidance, see Troubleshooting actions authentication.

For additional assistance, contact Glean Support at https://support.glean.com.