claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error: Server Rate Limiting Interrupts Workflow Execution [1 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#53100Fetched 2026-04-25 06:12:21
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Author
Participants

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/samm/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T00:04:05.859Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Rate limited"},"request_id":"req_011CaPdpkvYpWiaDfKvveENS"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:05.282Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Rate limited"},"request_id":"req_011CaPdprHksMXUA4KKAdMWb"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:06.753Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Rate limited"},"request_id":"req_011CaPdpzi2A9rA7cP9QDsjg"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:08.661Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Rate limited"},"request_id":"req_011CaPdrHpCTyUdMyLUoogmh"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:27.941Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Rate limited"},"request_id":"req_011CaPdrVEHnpShSV3vnPbs3"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:28.764Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Rate limited"},"request_id":"req_011CaPdrYRmzyh2xZscagnSe"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:29.534Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Rate limited"},"request_id":"req_011CaPdreiJJ3DjAASAHzXPZ"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:31.056Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Rate limited"},"request_id":"req_011CaPdrzL1J1MvYXm2Kw9Vt"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:35.712Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Rate limited"},"request_id":"req_011CaPdsUqFnQcsZqX3g8yQp"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:42.174Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Rate limited"},"request_id":"req_011CaPdsb3ow4DDqJDSMYKPj"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:43.867Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/samm/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n    at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n    at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T00:04:05.859Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdpkvYpWiaDfKvveENS\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:05.282Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdprHksMXUA4KKAdMWb\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:06.753Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdpzi2A9rA7cP9QDsjg\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:08.661Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdrHpCTyUdMyLUoogmh\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:27.941Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdrVEHnpShSV3vnPbs3\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:28.764Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdrYRmzyh2xZscagnSe\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:29.534Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdreiJJ3DjAASAHzXPZ\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:31.056Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdrzL1J1MvYXm2Kw9Vt\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:35.712Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdsUqFnQcsZqX3g8yQp\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:42.174Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdsb3ow4DDqJDSMYKPj\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:43.867Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description "API Error: Server is temporarily limiting requests (not your usage limit) · Rate limited" errors occuring interrupting work

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.119
  • Feedback ID: 937c7201-2366-4a61-b9ca-a9398f61b227

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/samm/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n    at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n    at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T00:04:05.859Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdpkvYpWiaDfKvveENS\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:05.282Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdprHksMXUA4KKAdMWb\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:06.753Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdpzi2A9rA7cP9QDsjg\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:08.661Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdrHpCTyUdMyLUoogmh\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:27.941Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdrVEHnpShSV3vnPbs3\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:28.764Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdrYRmzyh2xZscagnSe\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:29.534Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdreiJJ3DjAASAHzXPZ\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:31.056Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdrzL1J1MvYXm2Kw9Vt\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:35.712Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdsUqFnQcsZqX3g8yQp\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:42.174Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaPdsb3ow4DDqJDSMYKPj\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55343)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T01:39:43.867Z"}]

extent analysis

TL;DR

The issue is likely due to the server temporarily limiting requests, and a workaround could be to implement a retry mechanism with exponential backoff to handle the rate limit errors.

Guidance

  • The errors indicate a rate limit error with a 429 status code, suggesting that the server is limiting requests.
  • To mitigate this, consider implementing a retry mechanism that waits for a certain amount of time before retrying the request.
  • The wait time can be increased exponentially after each retry to avoid overwhelming the server.
  • It may also be helpful to review the request frequency and adjust it to be within the allowed limits.

Example

function makeRequestWithRetry(request) {
  const maxRetries = 5;
  const initialWaitTime = 1000; // 1 second
  let retries = 0;
  let waitTime = initialWaitTime;

  while (retries < maxRetries) {
    try {
      return makeRequest(request);
    } catch (error) {
      if (error.status === 429) {
        retries++;
        waitTime *= 2; // exponential backoff
        await new Promise(resolve => setTimeout(resolve, waitTime));
      } else {
        throw error;
      }
    }
  }
  throw new Error(`Failed after ${maxRetries} retries`);
}

Notes

The provided code snippet is a basic example and may need to be adapted to the specific use case. Additionally, it's essential to review the request frequency and adjust it to be within the allowed limits to avoid hitting the rate limit in the first place.

Recommendation

Apply a workaround by implementing a retry mechanism with exponential backoff to handle the rate limit errors, as the issue seems to be related to the server's temporary request limit.

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: Server Rate Limiting Interrupts Workflow Execution [1 participants]