I get 401 errors from the Code Buckets API. How do I fix them?
| Code | Fix |
|---|---|
invalid_api_key | Key wrong or revoked: check for typos and spaces, or create a new key |
expired_api_key | Create a new key |
missing_account_id | Add X-Clatter-Account: CL-… |
account_mismatch | Send the Account ID of the account that created the key |
A revoked key stops working within 30 seconds. Remember the header format: Authorization: Bearer clsk_....
Learn more#
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.xyzFor deleting your whole account or the data of one service.