claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error: 429 Rate Limit with Multiple Parallel Sessions Below Usage Cap [3 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#46037Fetched 2026-04-11 06:30:38
View on GitHub
Comments
3
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4commented ×2

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/hyesungpark/.local/share/claude/versions/2.1.98 (expected in multi-process scenarios)\n at BU_ (/$bunfs/root/src/entrypoints/cli.js:2810:2153)\n at Ht6 (/$bunfs/root/src/entrypoints/cli.js:2810:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T02:04:05.679Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011CZuLQCeLX6FCcfoTzWZoc"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:52623)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T02:53:57.833Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/hyesungpark/.local/share/claude/versions/2.1.98 (expected in multi-process scenarios)\n    at BU_ (/$bunfs/root/src/entrypoints/cli.js:2810:2153)\n    at Ht6 (/$bunfs/root/src/entrypoints/cli.js:2810:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T02:04:05.679Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CZuLQCeLX6FCcfoTzWZoc\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52623)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T02:53:57.833Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Unexpected 429 rate limit errors in Claude Code (Max plan).

I am running multiple Claude Code sessions (about 3 in parallel). Only one session works normally, while the others consistently return rate limit errors.

This is happening under normal usage:

  • My total usage is only ~65% of the weekly cap
  • I am not sending rapid or burst requests
  • Usage is steady across sessions

The behavior seems inconsistent, as one session works fine while others are blocked with rate limits at the same time.

This does not appear to be normal RPM or token limit behavior and may indicate a bug or incorrect session-level throttling.

Please investigate potential issues with multi-session usage or account-level rate limiting.

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.98
  • Feedback ID: 91434117-38aa-4379-9269-656fb321473d

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/hyesungpark/.local/share/claude/versions/2.1.98 (expected in multi-process scenarios)\n    at BU_ (/$bunfs/root/src/entrypoints/cli.js:2810:2153)\n    at Ht6 (/$bunfs/root/src/entrypoints/cli.js:2810:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T02:04:05.679Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CZuLQCeLX6FCcfoTzWZoc\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52623)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T02:53:57.833Z"}]

extent analysis

TL;DR

Running multiple Claude Code sessions in parallel may be causing inconsistent rate limit errors, suggesting a potential issue with session-level throttling or account-level rate limiting.

Guidance

  • Investigate the rate limiting behavior for multi-session usage to determine if it's a bug or incorrect configuration.
  • Review the account's weekly cap and usage patterns to ensure that the total usage is not exceeding the expected limits.
  • Consider reducing the number of parallel sessions or implementing a delay between requests to see if it mitigates the rate limit errors.
  • Check the documentation for Claude Code to see if there are any specific guidelines for running multiple sessions in parallel.

Example

No code snippet is provided as it's not clearly supported by the issue.

Notes

The issue may be related to the specific version of Claude Code (2.1.98) or the platform (darwin) being used. Further investigation is needed to determine the root cause of the problem.

Recommendation

Apply a workaround by reducing the number of parallel sessions or implementing a delay between requests, as it may help mitigate the rate limit errors until the root cause is determined.

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