claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error: Overloaded (529) [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#45063Fetched 2026-04-09 08:14:10
View on GitHub
Comments
2
Participants
3
Timeline
9
Reactions
1
Timeline (top)
labeled ×5commented ×2cross-referenced ×2

Error Message

[{"error":"AxiosError: Request failed with status code 400\n at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n at Unzip.emit (node:events:524:28)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at GU6.request (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Sl6 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:300:262338)\n at async wR1 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:479:3858)\n at async $G1 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:300:266053)","timestamp":"2026-04-16T06:35:00.278Z"},{"error":"AxiosError: Request failed with status code 400\n at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n at Unzip.emit (node:events:524:28)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at GU6.request (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Sl6 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:300:262338)\n at async wR1 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:479:3858)","timestamp":"2026-04-16T06:35:00.552Z"},{"error":"AxiosError: Request failed with status code 401\n at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n at Unzip.emit (node:events:524:28)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at GU6.request (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async za (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:494:4049)\n at async file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:2900:182\n at async Promise.all (index 0)\n at async file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:6860:22191","timestamp":"2026-04-16T06:35:00.684Z"},{"error":"AxiosError: Request failed with status code 401\n at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n at Unzip.emit (node:events:524:28)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at GU6.request (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async d1Y (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:3318:14511)\n at async $wK (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:3318:15053)","timestamp":"2026-04-16T06:35:02.158Z"},{"error":"AxiosError: Request failed with status code 401\n at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n at Unzip.emit (node:events:524:28)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at GU6.request (file:…

Code Example

[{"error":"AxiosError: Request failed with status code 400\n    at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n    at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n    at Unzip.emit (node:events:524:28)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at GU6.request (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Sl6 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:300:262338)\n    at async wR1 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:479:3858)\n    at async $G1 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:300:266053)","timestamp":"2026-04-16T06:35:00.278Z"},{"error":"AxiosError: Request failed with status code 400\n    at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n    at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n    at Unzip.emit (node:events:524:28)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at GU6.request (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Sl6 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:300:262338)\n    at async wR1 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:479:3858)","timestamp":"2026-04-16T06:35:00.552Z"},{"error":"AxiosError: Request failed with status code 401\n    at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n    at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n    at Unzip.emit (node:events:524:28)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at GU6.request (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async za (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:494:4049)\n    at async file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:2900:182\n    at async Promise.all (index 0)\n    at async file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:6860:22191","timestamp":"2026-04-16T06:35:00.684Z"},{"error":"AxiosError: Request failed with status code 401\n    at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n    at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n    at Unzip.emit (node:events:524:28)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at GU6.request (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async d1Y (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:3318:14511)\n    at async $wK (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:3318:15053)","timestamp":"2026-04-16T06:35:02.158Z"},{"error":"AxiosError: Request failed with status code 401\n    at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n    at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n    at Unzip.emit (node:events:524:28)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at GU6.request (file:…
RAW_BUFFERClick to expand / collapse

Bug Description I constantly get: ⎿ API Error: 529 {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"},"request_id":"req_011Ca6zdMopiPcwru6c6JjRo"}

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 2.1.110
  • Feedback ID: 392bf5fa-c91b-4ff4-b58e-673035cab197

Errors

[{"error":"AxiosError: Request failed with status code 400\n    at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n    at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n    at Unzip.emit (node:events:524:28)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at GU6.request (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Sl6 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:300:262338)\n    at async wR1 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:479:3858)\n    at async $G1 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:300:266053)","timestamp":"2026-04-16T06:35:00.278Z"},{"error":"AxiosError: Request failed with status code 400\n    at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n    at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n    at Unzip.emit (node:events:524:28)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at GU6.request (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Sl6 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:300:262338)\n    at async wR1 (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:479:3858)","timestamp":"2026-04-16T06:35:00.552Z"},{"error":"AxiosError: Request failed with status code 401\n    at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n    at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n    at Unzip.emit (node:events:524:28)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at GU6.request (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async za (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:494:4049)\n    at async file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:2900:182\n    at async Promise.all (index 0)\n    at async file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:6860:22191","timestamp":"2026-04-16T06:35:00.684Z"},{"error":"AxiosError: Request failed with status code 401\n    at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n    at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n    at Unzip.emit (node:events:524:28)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at GU6.request (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async d1Y (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:3318:14511)\n    at async $wK (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:3318:15053)","timestamp":"2026-04-16T06:35:02.158Z"},{"error":"AxiosError: Request failed with status code 401\n    at OU (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:113:1188)\n    at Unzip.<anonymous> (file:///root/.nvm/versions/node/v20.19.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:12484)\n    at Unzip.emit (node:events:524:28)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at GU6.request (file:…

Note: Content was truncated.

extent analysis

TL;DR

The most likely fix is to wait and retry the request, as the error message indicates an "overloaded_error" from the API.

Guidance

  • The error messages suggest that the API is overloaded or timing out, which may be a temporary issue.
  • Check the API documentation for any guidance on handling overloaded errors or timeouts.
  • Consider implementing a retry mechanism with exponential backoff to handle temporary API overload or timeout issues.
  • Verify that the issue is not specific to the local environment by trying the request from a different location or network.

Example

No specific code example is provided, as the issue seems to be related to API overload or timeout rather than a code-specific problem.

Notes

The provided information does not indicate a specific code or configuration issue, but rather a potential temporary problem with the API. It's essential to verify that the issue is not specific to the local environment and to consider implementing a retry mechanism to handle such errors.

Recommendation

Apply a workaround by implementing a retry mechanism with exponential backoff to handle temporary API overload or timeout issues. This approach allows the application to recover from temporary errors without requiring significant changes to the code or environment.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING