TOKEN_EXPIRED

HTTP 401

What it means

Bearer token is past its expiration time.

What to do

Refresh the access token using the refresh token, or re-run the OAuth authorization flow to obtain a new access token.

Envelope

{
  "error": {
    "code": "TOKEN_EXPIRED",
    "http_status": 401,
    "message": "Bearer token is past its expiration time.",
    "remediation_hint": "Refresh the access token using the refresh token, or re-run the OAuth authorization flow to obtain a new access token.",
    "docs_url": "https://developers.cognethics.com/errors/TOKEN_EXPIRED",
    "request_id": "0f2c9b6e-...",
    "details": {}
  }
}

Back to Errors & status codes.