Synq Docs
Errors

Invalid token

The `invalid_token` error: HTTP 401 Unauthorized.

A credential that isn't one: malformed, unknown, or for another API.

FieldValue
codeinvalid_token
status401 Unauthorized
titleInvalid token

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 invalid_token. Branch on code, never on title or detail: a code never changes once it ships, while the words may.

{
  "type": "…/errors/invalid_token",
  "title": "Invalid token",
  "status": 401,
  "code": "invalid_token"
}

See every error code.