claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error: 429 Rate Limit Exceeded Below Organization Input Token Quota [1 comments, 2 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#56342Fetched 2026-05-06 06:30:43
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Error Message

[{"error":"Error: ECONNREFUSED\n at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n at async k_ (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:41.981Z"},{"error":"Error: Was there a typo in the url or port?\n at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n at async k_ (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:44.230Z"},{"error":"Error: ECONNREFUSED\n at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n at async k_ (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:44.429Z"},{"error":"Error: ECONNREFUSED\n at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:http_client:253:22)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:46.838Z"},{"error":"Error: Was there a typo in the url or port?\n at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n at async k (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:49.245Z"},{"error":"Error: ECONNREFUSED\n at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n at async k_ (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:59.010Z"},{"error":"Error: Was there a typo in the url or port?\n at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:…

Code Example

[{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async k__ (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n    at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:41.981Z"},{"error":"Error: Was there a typo in the url or port?\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async k__ (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n    at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:44.230Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async k__ (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n    at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:44.429Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:46.838Z"},{"error":"Error: Was there a typo in the url or port?\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async k__ (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n    at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:49.245Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async k__ (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n    at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:59.010Z"},{"error":"Error: Was there a typo in the url or port?\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:
RAW_BUFFERClick to expand / collapse

Bug Description i keep getting 429 rate limited organizations limit of 2m input toknes per minute, but i'm absolutely not using that limit up at all, it's just me. (org: 6b700525-ce41-438a-87ff-0ceffd4e4419, model: claude-opus-4-6).

Environment Info

  • Platform: darwin
  • Terminal: kitty
  • Version: 2.1.123
  • Feedback ID: 363e8f00-0604-45e2-8eda-376ab981ffdf

Errors

[{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async k__ (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n    at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:41.981Z"},{"error":"Error: Was there a typo in the url or port?\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async k__ (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n    at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:44.230Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async k__ (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n    at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:44.429Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:46.838Z"},{"error":"Error: Was there a typo in the url or port?\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async k__ (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n    at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:49.245Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async k__ (/$bunfs/root/src/entrypoints/cli.js:256:276219)\n    at async fi6 (/$bunfs/root/src/entrypoints/cli.js:409:4685)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T02:27:59.010Z"},{"error":"Error: Was there a typo in the url or port?\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:

Note: Content was truncated.

extent analysis

TL;DR

Check the API request rate and verify the URL and port configuration to resolve the 429 rate limit error and ECONNREFUSED errors.

Guidance

  • Review the API documentation to understand the rate limits for the claude-opus-4-6 model and ensure that the current usage is within the allowed limits.
  • Verify the URL and port configuration to ensure that there are no typos or incorrect settings, as suggested by some of the error messages.
  • Investigate the ECONNREFUSED errors, which may indicate a connection issue or a problem with the server.
  • Consider adding error handling and retries to the API requests to improve resilience and reduce the impact of temporary errors.

Example

No specific code example can be provided without more context, but ensuring that the API requests are properly configured and handled can help resolve the issue.

Notes

The provided error messages and context suggest a potential issue with the API requests, but without more information about the code and configuration, it's difficult to provide a more specific solution. The ECONNREFUSED errors may indicate a connection issue or a problem with the server, which would require further investigation.

Recommendation

Apply a workaround by reviewing and adjusting the API request rate and configuration to ensure compliance with the rate limits and correct URL and port settings. This may involve adding error handling and retries to the API requests to improve resilience.

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

claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error: 429 Rate Limit Exceeded Below Organization Input Token Quota [1 comments, 2 participants]