claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error: 1M Context Window Requires Paid Usage Plan [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#54855Fetched 2026-04-30 06:34:02
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×5commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/damiansligo-green/.local/share/claude/versions/2.1.123 (expected in multi-process scenarios)\n at x86 (/$bunfs/root/src/entrypoints/cli.js:2769:2177)\n at Jw8 (/$bunfs/root/src/entrypoints/cli.js:2769:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T19:20:02.459Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T20:31:18.195Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/damiansligo-green/Code/freehold-portal.\n at call (/$bunfs/root/src/entrypoints/cli.js:4865:7658)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T23:23:42.461Z"},{"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_011CaYyZqrfFmBphSRVuMRiP"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:03:20.176Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n at USq (/$bunfs/root/src/entrypoints/cli.js:256:287818)\n at async I99 (/$bunfs/root/src/entrypoints/cli.js:409:898)\n at async Si6 (/$bunfs/root/src/entrypoints/cli.js:409:796)\n at async K$_ (/$bunfs/root/src/entrypoints/cli.js:2745:2257)\n at async a0H (/$bunfs/root/src/entrypoints/cli.js:2770:6041)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2794:3410)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:12.426Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Extra usage is required for long context requests."},"request_id":"req_011CaYyiXUsCX8HvMJgHUjvM"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:18.038Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Extra usage is required for long context requests."},"request_id":"req_011CaYyp6cZRnfS4nVigQVTz"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:06:33.448Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/damiansligo-green/.local/share/claude/versions/2.1.123 (expected in multi-process scenarios)\n    at x86 (/$bunfs/root/src/entrypoints/cli.js:2769:2177)\n    at Jw8 (/$bunfs/root/src/entrypoints/cli.js:2769:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T19:20:02.459Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T20:31:18.195Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/damiansligo-green/Code/freehold-portal.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4865:7658)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T23:23:42.461Z"},{"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_011CaYyZqrfFmBphSRVuMRiP\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:03:20.176Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at USq (/$bunfs/root/src/entrypoints/cli.js:256:287818)\n    at async I99 (/$bunfs/root/src/entrypoints/cli.js:409:898)\n    at async Si6 (/$bunfs/root/src/entrypoints/cli.js:409:796)\n    at async K$_ (/$bunfs/root/src/entrypoints/cli.js:2745:2257)\n    at async a0H (/$bunfs/root/src/entrypoints/cli.js:2770:6041)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2794:3410)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:12.426Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011CaYyiXUsCX8HvMJgHUjvM\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:18.038Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011CaYyp6cZRnfS4nVigQVTz\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:06:33.448Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description I'm getting an issue saying that extra usage is required for 1m context but I'm using sonnet 4.6 default

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.1.123
  • Feedback ID: 54d3b571-30c1-46d5-b814-584fe5797413

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/damiansligo-green/.local/share/claude/versions/2.1.123 (expected in multi-process scenarios)\n    at x86 (/$bunfs/root/src/entrypoints/cli.js:2769:2177)\n    at Jw8 (/$bunfs/root/src/entrypoints/cli.js:2769:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T19:20:02.459Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T20:31:18.195Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/damiansligo-green/Code/freehold-portal.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4865:7658)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T23:23:42.461Z"},{"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_011CaYyZqrfFmBphSRVuMRiP\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:03:20.176Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at USq (/$bunfs/root/src/entrypoints/cli.js:256:287818)\n    at async I99 (/$bunfs/root/src/entrypoints/cli.js:409:898)\n    at async Si6 (/$bunfs/root/src/entrypoints/cli.js:409:796)\n    at async K$_ (/$bunfs/root/src/entrypoints/cli.js:2745:2257)\n    at async a0H (/$bunfs/root/src/entrypoints/cli.js:2770:6041)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2794:3410)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:12.426Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011CaYyiXUsCX8HvMJgHUjvM\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:18.038Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011CaYyp6cZRnfS4nVigQVTz\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:06:33.448Z"}]
<img width="1370" height="245" alt="Image" src="https://github.com/user-attachments/assets/cad123ee-37cc-492c-8ea0-a0b53c409c2c" />

extent analysis

TL;DR

The issue is likely due to exceeding the rate limit for long context requests, and extra usage is required.

Guidance

  • Check the error messages for rate limit errors, which indicate that the request would exceed the account's rate limit.
  • Review the request frequency and adjust it to be within the allowed limits.
  • Consider upgrading to a plan that supports longer context requests or extra usage.
  • Verify that the sonnet version 4.6 default settings are compatible with the current usage.

Example

No code snippet is provided as the issue seems to be related to rate limiting and usage limits rather than code-specific errors.

Notes

The issue may be specific to the darwin platform and Version 2.1.123, and the provided image does not seem to be relevant to the error messages.

Recommendation

Apply workaround: Adjust the request frequency to be within the allowed limits, as the error messages clearly indicate a rate limit error.

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: 1M Context Window Requires Paid Usage Plan [1 comments, 2 participants]