Synq Docs
Errors

Token expired

The `token_expired` error: HTTP 401 Unauthorized.

An access token or API key past its expiry.

FieldValue
codetoken_expired
status401 Unauthorized
titleToken expired

Synq's APIs answer errors with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is token_expired. Branch on code, never on title or detail: a code never changes once it ships, while the words may.

{
  "type": "…/errors/token_expired",
  "title": "Token expired",
  "status": 401,
  "code": "token_expired"
}

See every error code.