Clatter LabsHelp Center

My key worked yesterday and now I get 401. What changed?

TroubleshootingUpdated

Read error.code:

  • invalid_api_key: the key was revoked (by you or a teammate) or is no longer sent correctly.
  • expired_api_key: the key expired; create a new one.
  • missing_account_id / account_mismatch: the Account ID header is gone or now points to another account (a config change or a different environment).

Check Console › API keys to see if the key still exists.

Good to know#

  • Retry only 429 and 5xx errors, with backoff; honour Retry-After when it's sent. Which errors to retry
  • Keep keys on your server, never in a browser or mobile app. Why
  • Every response has an X-Request-Id; log it so a request can be found later. Why log it

Still need help?#

We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.