Clatter LabsHelp Center

How do I fix 401 account_mismatch?

TroubleshootingUpdated

401 account_mismatch means the key and the Account ID don't belong together.

  1. Sign in to the Console with the account that created the key; copy the Account ID from its account menu.
  2. Use that ID in X-Clatter-Account.
  3. Common causes: two accounts, a teammate's ID in a shared config, or a key from staging with production's ID.

Team members use their own Account ID with their own keys; the usage is still billed to the team.

Good to know#

  • Branch your code on the error code, not the message.
  • On 429, wait the Retry-After seconds before retrying.

Learn more#

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.