TOKEN_INVALID

HTTP 401

What it means

Bearer token is invalid, malformed, or revoked.

What to do

Re-authenticate with a fresh token. If the token was recently revoked, the user or admin must re-grant authorization.

Envelope

{
  "error": {
    "code": "TOKEN_INVALID",
    "http_status": 401,
    "message": "Bearer token is invalid, malformed, or revoked.",
    "remediation_hint": "Re-authenticate with a fresh token. If the token was recently revoked, the user or admin must re-grant authorization.",
    "docs_url": "https://developers.cognethics.com/errors/TOKEN_INVALID",
    "request_id": "0f2c9b6e-...",
    "details": {}
  }
}

Back to Errors & status codes.