Symptom: 'Invalid API key' on every Henry request
Symptom: 'Invalid API key' on every Henry request
Cause. The most common cause is a key that has been rotated or revoked in the provider’s dashboard. Second most common: a key with insufficient permissions.Fix.
- Open your AI provider’s dashboard (OpenAI or Gemini).
- Find the key currently in use (the name should match what you configured in Brand Atlas).
- If the key is missing, it was revoked. Generate a new one.
- If the key exists but is restricted, check that Chat completions (OpenAI) or Generate content (Gemini) is in the allowed scopes.
- Paste the working key into Settings → AI → Henry in Brand Atlas. The test runs automatically.
Symptom: 'Insufficient quota'
Symptom: 'Insufficient quota'
Cause. The usage limit on your provider account has been reached, or the account has no credit balance.Fix.
- In your provider’s dashboard, check the current usage and limit.
- Increase the limit, or add credit to the account.
- Henry resumes working within minutes of the limit being raised.
Symptom: 'Rate limit reached, try again in [N] seconds'
Symptom: 'Rate limit reached, try again in [N] seconds'
Cause. The provider is rate-limiting requests, usually due to a usage spike or a low default per-minute limit.Fix.
- Wait the suggested time and try again.
- If the rate limit is hit frequently, request a higher rate limit from the provider (both OpenAI and Gemini accept this request from established accounts).
- Consider whether the model in use is appropriate; higher-tier models often have lower default rate limits.
Symptom: 'Model not available'
Symptom: 'Model not available'
Cause. The model configured in Brand Atlas is not accessible on the provider account, or the model has been deprecated.Fix.
- Open Settings → AI → Henry → Model.
- Select a model that your provider account has access to.
- The default model is configured to one that all accounts can access.
Symptom: Henry was working, now suddenly invalid
Symptom: Henry was working, now suddenly invalid
Cause. A key was rotated or revoked recently, possibly by someone else on your team with provider-account access.Fix.
- In your provider’s dashboard, check the key’s audit log. The provider shows when the key was created, last used, and modified.
- If the key was revoked unexpectedly, check with your team. Treat unexpected key changes as a potential security incident; if no team member knows of the change, write to security@brandatlas.pro.
- Issue a new key and paste it into Brand Atlas.
Symptom: 'Service unavailable' or 5xx errors from the provider
Symptom: 'Service unavailable' or 5xx errors from the provider
When the key cannot be recovered
If you have lost access to the key and the provider has no record of it (an account closure, a deletion), the key cannot be recovered. The fix is to create a new key:- Sign in to your provider’s dashboard.
- Create a new API key with the same permissions and limits.
- Paste into Settings → AI → Henry → Replace key. The old key entry in Brand Atlas is removed in the same operation.
When to escalate
Write to support@brandatlas.pro when:- The fixes above do not resolve the issue.
- Brand Atlas’s test of the key fails for reasons not covered above.
- The provider’s dashboard shows the key as valid but Henry continues to report it as invalid.
Related pages
Setting up Henry
Initial setup.
How your key is stored
The storage model.
Rotating and revoking
Hygiene practices.