Skip to Content
DevelopersError CodesCodesAuthInvalid token record

Invalid token record

Code

AUTH/INVALID_TOKEN_RECORD

What it means

The token record exists, but its contents are not trustworthy (missing fields or corrupted JSON).

When it happens

  • The stored token record is malformed or missing required fields.

Typical scenarios:

  • Partial write or race during token creation
  • Manual/legacy data in Redis
  • Serialization bug

How to handle

  • Treat as unauthenticated (401) and force token re-issue.
  • On the server, consider deleting the bad record to avoid repeated failures.
Last updated on
Docsv1.0.10