Errors
UNAUTHENTICATED — 401 Unauthorized
401 Unauthorized
Authentication failed. The request did not include valid credentials.
Category
authentication
Retryable?
No. Fix the credential issue before retrying.
Common Causes
- Missing
Authorizationheader - Malformed header (e.g., missing
Bearerprefix) - Expired or revoked API key
- Using a sandbox key against the production endpoint (or vice versa)
Error Codes
Each code below is an anchor. The type URI on a problem-detail response points straight at it, so
dereferencing type lands on the exact code rather than the top of this page.
INVALID_SESSION
The session token is missing, malformed, or no longer valid.
What to do: Create a new session and retry with its token.
Example
Code