AI API Error Troubleshooting Clinic:
Fix 429, 403, Cache & Timeouts

Search HTTP status codes or raw API error messages (429, 403, ECONNRESET, cache miss, 504 timeout) to pinpoint root causes and copy working fixes.

Code / TypeProviderError Signature & GuideFix
HTTP 429OpenAIFix OpenAI API 429 Error (Rate Limit & insufficient_quota)Rate limit reached / You exceeded your current quota (insufficient_quota)View fix →
HTTP 403AnthropicFix Claude API 403 Forbidden (Region Restricted / Account Blocked)403 Forbidden / Request not allowed from your region / Account disabledView fix →
ECONNRESETClaude CodeFix Claude Code "Unable to connect" / fetch failed / ECONNRESETUnable to connect to Anthropic services / fetch failed / ECONNRESETView fix →
CACHE 0%AnthropicFix Claude Prompt Caching Misses (cache_read_input_tokens = 0)cache_read_input_tokens: 0 / Prompt caching not hitting on long contextView fix →
429 RESOURCEGoogle GeminiFix Gemini API 429 RESOURCE_EXHAUSTED Quota Errors429 RESOURCE_EXHAUSTED / Quota exceeded for quota metricView fix →
CURSOR APICursorFix Cursor Custom OpenAI Base URL & API Key Verification ErrorsFailed to verify OpenAI API Key / Custom Base URL ignored in CursorView fix →
ASYNC JOBSeedance / VideoFix Seedance & AI Video API Timeouts (504) and Failed Jobs504 Gateway Timeout / Video generation task failed or stuck in pendingView fix →
HTTP 401All APIsFix HTTP 401 Unauthorized / Invalid API Key (5 Hidden Causes)401 Unauthorized / Incorrect API key provided / Invalid authenticationView fix →