Skip to content

API Error Codes

These errors come from model service providers (such as Anthropic, OpenAI, or third-party proxies). Halo displays the raw error messages directly.

Error Code Reference

Error code / keywordMeaningSolution
429 Too Many RequestsRequests are too frequent — rate limit triggeredWait a few minutes and retry; or upgrade your API plan
rate limitRate limit reachedRetry later; check your API quota
context length exceededConversation is too long, exceeding the model windowSend /compact to compress; or start a new conversation
image not supportedAn image was uploaded, but the current model does not support visionMust start a new conversation; switch to a multimodal model
insufficient quota / quota exhaustedAPI quota is depletedTop up or replace your API key
invalid api keyAPI key is invalid or has expiredCheck that the key is correct and has not expired
model not foundModel name does not exist, or account lacks permissionCheck the model name; confirm your account has access to that model
overloaded / service busyThe model service is overloadedRetry later
401 UnauthorizedAuthentication failedRe-check your API key configuration
500 Internal Server ErrorInternal error on the provider's sideRetry later; contact the provider if it persists

General Troubleshooting Approach

Retry: 429, overloaded, and 500 errors are usually temporary. Wait a moment and click resend.

Start a new conversation: context length exceeded and image not supported errors require a new conversation, because the current context is corrupted and cannot be recovered.

Check configuration: invalid api key, model not found, and 401 errors require you to go to Settings → AI Model to verify your key and model name.

Contact the provider: If an error persists after troubleshooting, contact your API service provider.


About Third-Party Proxies

When using a third-party OpenAI-compatible proxy, the format and meaning of error messages may differ slightly from those of the official API. If you encounter an unfamiliar error, you can submit the full error message to GitHub Issues or the user community for help.