Anthropic API Overloaded Error with Retry Mechanism

Resolved 💬 2 comments Opened Jul 16, 2025 by fwends Closed Jul 16, 2025

Bug Description
⎿ API Error (529 {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}) · Retrying in 1 seconds… (attempt 1/10)
⎿ API Error (529 {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}) · Retrying in 1 seconds… (attempt 2/10)
⎿ API Error (529 {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}) · Retrying in 2 seconds… (attempt 3/10)

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 1.0.48
  • Feedback ID:

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:892:11)\n    at execSync (node:child_process:964:15)\n    at $D (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:704:4293)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:9350\n    at Q (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:526:14406)\n    at dC (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:8496)\n    at mC (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:7361)\n    at wB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:11970)","timestamp":"2025-07-11T11:59:25.786Z"},{"error":"AxiosError: Request failed with status code 404\n    at bH (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:528:1070)\n    at BrotliDecompress.KA (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:529:9950)\n    at BrotliDecompress.emit (node:events:519:35)\n    at BrotliDecompress.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at mi.request (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:531:2081)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Yx2 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1969:854)\n    at async Wx2 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1969:1815)\n    at async Object.call (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1969:5352)\n    at async BL6 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1930:20002)\n    at async Pz1 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1930:16723)\n    at async Uc (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1905:892)\n    at async AL6 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1930:15868)\n    at async o$6 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1930:15353)","timestamp":"2025-07-11T12:03:02.222Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at PF (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1481:1184)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1481:912\n    at Array.map (<anonymous>)\n    at sY (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1481:903)\n    at Y_2 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1957:9730)\n    at ww (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:65:19804)\n    at jP (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:67:42569)\n    at SP (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:67:38118)\n    at ZL (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:67:38046)\n    at gw (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:67:37900)","timestamp":"2025-07-11T12:06:18.673Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at PF (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1481:1184)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1481:912\n    at Array.map (<anonymous>)\n    at sY (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1481:903)\n    at Y_2 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1957:9730)\n    at ww (file:///Users/greg/.claude/local/node_modules/@anthro

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗