CODE_ALREADY_USED

HTTP 400

What it means

The authorization code has already been redeemed.

What to do

Authorization codes are single-use. Restart the OAuth flow to obtain a fresh code, then exchange it exactly once.

Envelope

{
  "error": {
    "code": "CODE_ALREADY_USED",
    "http_status": 400,
    "message": "The authorization code has already been redeemed.",
    "remediation_hint": "Authorization codes are single-use. Restart the OAuth flow to obtain a fresh code, then exchange it exactly once.",
    "docs_url": "https://developers.cognethics.com/errors/CODE_ALREADY_USED",
    "request_id": "0f2c9b6e-...",
    "details": {}
  }
}

Back to Errors & status codes.