AI Coding Tool Errors — Claude Code, Cursor, Codex, opencode, Cline, Zed
Pick the tool that is failing. Every page quotes the exact text the tool prints, explains what produced it, and gives the shortest path to a working setup. For the API-level reference organized by status code, see the Claude API error codes page.
Claude Code errors
Fixes for every error Claude Code prints: API Error 429 rate_limit_error, 401 invalid x-api-key, 529 Overloaded and the usage-limit message. Exact output, cause and fix.
Cursor errors
Fixes for Cursor errors with a custom Anthropic API key: unable to reach model provider, invalid API key on verify, 401 from the provider and rate limits. Cause and fix for each.
Codex CLI errors
Fixes for Codex CLI failures with a custom model provider: Missing OPENAI_API_KEY, config.toml profile mistakes, auth.json login state and stream error: unexpected status 401.
opencode errors
Fixes for opencode failures on a custom provider: AI_APICallError, models missing from the provider list, API keys that are not picked up, and silently dropped image attachments.
Cline errors
Fixes for Cline errors with an Anthropic key: the API Request Failed banner, 401 invalid x-api-key, 429 rate_limit_error retry loops and the context-limit 400. Cause and fix for each.
Zed errors
Fixes for Zed assistant errors on Anthropic models: 401 invalid x-api-key, 429 rate limits, 529 Overloaded and custom api_url configuration, including the /v1/v1 404 trap.
Claude API error codes
The API-level reference: every status code and verbatim response body, organized by code rather than by tool.