Skip to main content

Token Expired

Code

  • code: token_expired
  • status: 401
  • url: https://developers.glean.com/errors/token-expired

What It Means

The authentication token was valid but has expired.

Common Causes

  • An OAuth access token exceeded its lifetime.
  • A cached token was reused instead of refreshed.

How To Resolve

Client Actions

  • Refresh the token through the configured authentication flow.
  • Update token caching so expired tokens are not reused.

Admin Actions

  • Confirm the integration has an active credential configuration.

Retry Guidance

Retry after obtaining a fresh token.

Example Response

{
"type": "https://developers.glean.com/errors/token-expired",
"title": "Token Expired",
"status": 401,
"detail": "Human-readable explanation specific to this occurrence.",
"code": "token_expired",
"documentation_url": "https://developers.glean.com/errors/token-expired",
"request_id": "req_7f8a9b0c1d2e"
}