How do I fix 401 missing_account_id?
Every keyed request must send your Account ID:
X-Clatter-Account: CL-XXXXXXXX
- Copy your Account ID from Console Home or the account menu.
- Add the header to every request. With an OpenAI SDK, use
default_headers/defaultHeaders. - Spell it exactly
X-Clatter-Account. - Make sure a proxy isn't stripping custom headers.
Tools that let you set only a base URL and key, with no extra headers, can't call the API yet.
Good to know#
- Branch your code on the error
code, not the message. - On
429, wait theRetry-Afterseconds before retrying. - A new key's secret is shown only once. Clatter Labs stores only a hash, so a lost key can't be recovered.
Learn more#
Still need help?#
- General support: support@clatterlabs.com or team@clatterlabs.xyz
- Infrastructure questions, or permanent deletion of your data (your whole account or one service): infrastructure@clatterlabs.xyz
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.xyzFor deleting your whole account or the data of one service.