claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error: Overloaded [6 comments, 6 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#45047Fetched 2026-04-09 08:13:45
View on GitHub
Comments
6
Participants
6
Timeline
16
Reactions
2
Author
Timeline (top)
commented ×6labeled ×5cross-referenced ×3subscribed ×1

Error Message

[{"error":"Error: Failed to delete keychain entry\n at G5q (/$bunfs/root/src/entrypoints/cli.js:249:281163)\n at async YEq (/$bunfs/root/src/entrypoints/cli.js:402:898)\n at async eh6 (/$bunfs/root/src/entrypoints/cli.js:402:796)\n at async QH_ (/$bunfs/root/src/entrypoints/cli.js:1866:2077)\n at async cYH (/$bunfs/root/src/entrypoints/cli.js:1891:5678)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1960:40918)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T05:56:55.028Z"},{"error":"Error: Request was aborted.\n at Sm6 (/$bunfs/root/src/entrypoints/cli.js:1244:17513)\n at T (/$bunfs/root/src/entrypoints/cli.js:401:2431)\n at abort (unknown)\n at HPH (/$bunfs/root/src/entrypoints/cli.js:8111:7253)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8076:4737)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1498:69332)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4916)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4089)\n at emit (/$bunfs/root/src/entrypoints/cli.js:470:16172)\n at Kb4 (/$bunfs/root/src/entrypoints/cli.js:502:1419)","timestamp":"2026-04-08T06:18:05.797Z"},{"error":"Error: Request was aborted.\n at Sm6 (/$bunfs/root/src/entrypoints/cli.js:1244:17513)\n at T (/$bunfs/root/src/entrypoints/cli.js:401:2431)\n at abort (unknown)\n at HPH (/$bunfs/root/src/entrypoints/cli.js:8111:7253)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8076:4737)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1498:69332)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4916)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4089)\n at emit (/$bunfs/root/src/entrypoints/cli.js:470:16172)\n at Kb4 (/$bunfs/root/src/entrypoints/cli.js:502:1419)","timestamp":"2026-04-08T06:18:50.574Z"},{"error":"Error: Request was aborted.\n at Sm6 (/$bunfs/root/src/entrypoints/cli.js:1244:17513)\n at T (/$bunfs/root/src/entrypoints/cli.js:401:2431)\n at abort (unknown)\n at HPH (/$bunfs/root/src/entrypoints/cli.js:8111:7253)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8076:4737)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1498:69332)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4916)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4089)\n at emit (/$bunfs/root/src/entrypoints/cli.js:470:16172)\n at Kb4 (/$bunfs/root/src/entrypoints/cli.js:502:1419)","timestamp":"2026-04-08T06:19:32.060Z"}]

Code Example

[{"error":"Error: Failed to delete keychain entry\n    at G5q (/$bunfs/root/src/entrypoints/cli.js:249:281163)\n    at async YEq (/$bunfs/root/src/entrypoints/cli.js:402:898)\n    at async eh6 (/$bunfs/root/src/entrypoints/cli.js:402:796)\n    at async QH_ (/$bunfs/root/src/entrypoints/cli.js:1866:2077)\n    at async cYH (/$bunfs/root/src/entrypoints/cli.js:1891:5678)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1960:40918)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T05:56:55.028Z"},{"error":"Error: Request was aborted.\n    at Sm6 (/$bunfs/root/src/entrypoints/cli.js:1244:17513)\n    at T (/$bunfs/root/src/entrypoints/cli.js:401:2431)\n    at abort (unknown)\n    at HPH (/$bunfs/root/src/entrypoints/cli.js:8111:7253)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8076:4737)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1498:69332)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4916)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4089)\n    at emit (/$bunfs/root/src/entrypoints/cli.js:470:16172)\n    at Kb4 (/$bunfs/root/src/entrypoints/cli.js:502:1419)","timestamp":"2026-04-08T06:18:05.797Z"},{"error":"Error: Request was aborted.\n    at Sm6 (/$bunfs/root/src/entrypoints/cli.js:1244:17513)\n    at T (/$bunfs/root/src/entrypoints/cli.js:401:2431)\n    at abort (unknown)\n    at HPH (/$bunfs/root/src/entrypoints/cli.js:8111:7253)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8076:4737)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1498:69332)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4916)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4089)\n    at emit (/$bunfs/root/src/entrypoints/cli.js:470:16172)\n    at Kb4 (/$bunfs/root/src/entrypoints/cli.js:502:1419)","timestamp":"2026-04-08T06:18:50.574Z"},{"error":"Error: Request was aborted.\n    at Sm6 (/$bunfs/root/src/entrypoints/cli.js:1244:17513)\n    at T (/$bunfs/root/src/entrypoints/cli.js:401:2431)\n    at abort (unknown)\n    at HPH (/$bunfs/root/src/entrypoints/cli.js:8111:7253)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8076:4737)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1498:69332)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4916)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4089)\n    at emit (/$bunfs/root/src/entrypoints/cli.js:470:16172)\n    at Kb4 (/$bunfs/root/src/entrypoints/cli.js:502:1419)","timestamp":"2026-04-08T06:19:32.060Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description ⎿ 529 {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"},"request_id":"req_011CZqpSunu2jASKLVc3zxXv"}
Retrying in 3 seconds… (attempt 5/10)

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.96
  • Feedback ID: 94272ba1-1d21-4375-9449-d1efcb41f8b8

Errors

[{"error":"Error: Failed to delete keychain entry\n    at G5q (/$bunfs/root/src/entrypoints/cli.js:249:281163)\n    at async YEq (/$bunfs/root/src/entrypoints/cli.js:402:898)\n    at async eh6 (/$bunfs/root/src/entrypoints/cli.js:402:796)\n    at async QH_ (/$bunfs/root/src/entrypoints/cli.js:1866:2077)\n    at async cYH (/$bunfs/root/src/entrypoints/cli.js:1891:5678)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1960:40918)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T05:56:55.028Z"},{"error":"Error: Request was aborted.\n    at Sm6 (/$bunfs/root/src/entrypoints/cli.js:1244:17513)\n    at T (/$bunfs/root/src/entrypoints/cli.js:401:2431)\n    at abort (unknown)\n    at HPH (/$bunfs/root/src/entrypoints/cli.js:8111:7253)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8076:4737)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1498:69332)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4916)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4089)\n    at emit (/$bunfs/root/src/entrypoints/cli.js:470:16172)\n    at Kb4 (/$bunfs/root/src/entrypoints/cli.js:502:1419)","timestamp":"2026-04-08T06:18:05.797Z"},{"error":"Error: Request was aborted.\n    at Sm6 (/$bunfs/root/src/entrypoints/cli.js:1244:17513)\n    at T (/$bunfs/root/src/entrypoints/cli.js:401:2431)\n    at abort (unknown)\n    at HPH (/$bunfs/root/src/entrypoints/cli.js:8111:7253)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8076:4737)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1498:69332)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4916)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4089)\n    at emit (/$bunfs/root/src/entrypoints/cli.js:470:16172)\n    at Kb4 (/$bunfs/root/src/entrypoints/cli.js:502:1419)","timestamp":"2026-04-08T06:18:50.574Z"},{"error":"Error: Request was aborted.\n    at Sm6 (/$bunfs/root/src/entrypoints/cli.js:1244:17513)\n    at T (/$bunfs/root/src/entrypoints/cli.js:401:2431)\n    at abort (unknown)\n    at HPH (/$bunfs/root/src/entrypoints/cli.js:8111:7253)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8076:4737)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1498:69332)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4916)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:531:4089)\n    at emit (/$bunfs/root/src/entrypoints/cli.js:470:16172)\n    at Kb4 (/$bunfs/root/src/entrypoints/cli.js:502:1419)","timestamp":"2026-04-08T06:19:32.060Z"}]

extent analysis

TL;DR

The issue is likely due to an overloaded error and request aborts, suggesting a potential problem with the system's ability to handle requests or delete keychain entries.

Guidance

  • Investigate the error messages indicating "Failed to delete keychain entry" and "Request was aborted" to understand the root cause of the issue.
  • Check the system's resource utilization and load to see if it's overloaded, which might be causing the requests to be aborted.
  • Verify the keychain entry deletion process to ensure it's working correctly and not causing the errors.
  • Consider increasing the timeout or retry mechanism for the requests to handle temporary overloads.

Example

No specific code example can be provided without more context, but checking the cli.js file at the mentioned lines (e.g., 249:281163, 1244:17513) might give insights into the error handling and request management.

Notes

The provided information suggests a complex issue that might require debugging the cli.js file or the system's configuration. The errors seem to be related to request handling and keychain management, but without more context, it's difficult to provide a precise solution.

Recommendation

Apply a workaround by increasing the timeout or retry mechanism for the requests to handle temporary overloads, as this might mitigate the issue until a more permanent fix can be found.

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