CODE_EXPIRED

HTTP 400

What it means

The authorization code has expired.

What to do

Restart the OAuth authorization flow. Authorization codes are short-lived and must be exchanged for tokens promptly.

Envelope

{
  "error": {
    "code": "CODE_EXPIRED",
    "http_status": 400,
    "message": "The authorization code has expired.",
    "remediation_hint": "Restart the OAuth authorization flow. Authorization codes are short-lived and must be exchanged for tokens promptly.",
    "docs_url": "https://developers.cognethics.com/errors/CODE_EXPIRED",
    "request_id": "0f2c9b6e-...",
    "details": {}
  }
}

Back to Errors & status codes.