claude-code - 💡(How to fix) Fix You've hit your limit · resets 4pm (Asia/Tbilisi) [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#45166Fetched 2026-04-09 08:11:45
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/s1lash/.local/share/claude/versions/2.1.92 (expected in multi-process scenarios)\n at im_ (/$bunfs/root/src/entrypoints/cli.js:1884:2153)\n at An6 (/$bunfs/root/src/entrypoints/cli.js:1884:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T21:15:00.406Z"},{"error":"MaxFileReadTokenExceededError: File content (27897 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T23:10:39.013Z"},{"error":"MaxFileReadTokenExceededError: File content (10755 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T23:16:05.769Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/s1lash/IdeaProjects/personal/projects/minder-project.\n at call (/$bunfs/root/src/entrypoints/cli.js:4303:7610)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T23:39:58.134Z"},{"error":"MaxFileReadTokenExceededError: File content (30106 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T23:48:42.257Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/s1lash/IdeaProjects/personal/projects/minder-project/.planning/phases/01-backend-api-changes'\n at mKH (/$bunfs/root/src/entrypoints/cli.js:3859:410)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T06:54:03.292Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/s1lash/IdeaProjects/personal/projects/minder-project/.planning/phases/02-plugin-foundation'\n at mKH (/$bunfs/root/src/entrypoints/cli.js:3859:410)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T06:54:03.920Z"},{"error":"MaxFileReadTokenExceededError: File content (27203 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:20:06.711Z"},{"error":"MaxFileReadTokenExceededError: File content (13166 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:20:17.541Z"},{"error":"MaxFileReadTokenExceededError: File content (19052 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:20:30.682Z"},{"error":"MaxFileReadTokenExceededError: File content (10091 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:20:42.051Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n at Py1 (/$bunfs/root/src/entrypoints/cli.js:1882:15046)\n at processTicksAndRejections (native:7:39)","timestamp"…

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/s1lash/.local/share/claude/versions/2.1.92 (expected in multi-process scenarios)\n    at im_ (/$bunfs/root/src/entrypoints/cli.js:1884:2153)\n    at An6 (/$bunfs/root/src/entrypoints/cli.js:1884:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T21:15:00.406Z"},{"error":"MaxFileReadTokenExceededError: File content (27897 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T23:10:39.013Z"},{"error":"MaxFileReadTokenExceededError: File content (10755 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T23:16:05.769Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/s1lash/IdeaProjects/personal/projects/minder-project.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4303:7610)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T23:39:58.134Z"},{"error":"MaxFileReadTokenExceededError: File content (30106 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T23:48:42.257Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/s1lash/IdeaProjects/personal/projects/minder-project/.planning/phases/01-backend-api-changes'\n    at mKH (/$bunfs/root/src/entrypoints/cli.js:3859:410)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T06:54:03.292Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/s1lash/IdeaProjects/personal/projects/minder-project/.planning/phases/02-plugin-foundation'\n    at mKH (/$bunfs/root/src/entrypoints/cli.js:3859:410)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T06:54:03.920Z"},{"error":"MaxFileReadTokenExceededError: File content (27203 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:20:06.711Z"},{"error":"MaxFileReadTokenExceededError: File content (13166 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:20:17.541Z"},{"error":"MaxFileReadTokenExceededError: File content (19052 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:20:30.682Z"},{"error":"MaxFileReadTokenExceededError: File content (10091 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:20:42.051Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at Py1 (/$bunfs/root/src/entrypoints/cli.js:1882:15046)\n    at processTicksAndRejections (native:7:39)","timestamp"
RAW_BUFFERClick to expand / collapse

Bug Description I hit my limits. upgraded my plan to Max (the write-off went through, all limits were reset both in the desktop and in /usage from current session also), but the current session doesn't "see" it.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.92
  • Feedback ID: a8f51540-f73a-48b1-a2d5-3f3d09ad4234

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/s1lash/.local/share/claude/versions/2.1.92 (expected in multi-process scenarios)\n    at im_ (/$bunfs/root/src/entrypoints/cli.js:1884:2153)\n    at An6 (/$bunfs/root/src/entrypoints/cli.js:1884:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T21:15:00.406Z"},{"error":"MaxFileReadTokenExceededError: File content (27897 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T23:10:39.013Z"},{"error":"MaxFileReadTokenExceededError: File content (10755 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T23:16:05.769Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/s1lash/IdeaProjects/personal/projects/minder-project.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4303:7610)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T23:39:58.134Z"},{"error":"MaxFileReadTokenExceededError: File content (30106 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T23:48:42.257Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/s1lash/IdeaProjects/personal/projects/minder-project/.planning/phases/01-backend-api-changes'\n    at mKH (/$bunfs/root/src/entrypoints/cli.js:3859:410)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T06:54:03.292Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/s1lash/IdeaProjects/personal/projects/minder-project/.planning/phases/02-plugin-foundation'\n    at mKH (/$bunfs/root/src/entrypoints/cli.js:3859:410)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T06:54:03.920Z"},{"error":"MaxFileReadTokenExceededError: File content (27203 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:20:06.711Z"},{"error":"MaxFileReadTokenExceededError: File content (13166 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:20:17.541Z"},{"error":"MaxFileReadTokenExceededError: File content (19052 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:20:30.682Z"},{"error":"MaxFileReadTokenExceededError: File content (10091 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:20:42.051Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at Py1 (/$bunfs/root/src/entrypoints/cli.js:1882:15046)\n    at processTicksAndRejections (native:7:39)","timestamp"

Note: Content was truncated.

extent analysis

TL;DR

The issue may be resolved by using offset and limit parameters to read specific portions of the file, as suggested by the MaxFileReadTokenExceededError messages.

Guidance

  • Review the error messages, which indicate that the file content exceeds the maximum allowed tokens (10000).
  • Consider using offset and limit parameters to read specific portions of the file, instead of reading the whole file.
  • Check the current working directory and file paths to ensure they are correct and exist.
  • Verify that the network connection is stable, as one error message indicates a failed fetch due to ECONNREFUSED.

Example

No code snippet is provided, as the issue does not include sufficient information about the code.

Notes

The issue content was truncated, which may limit the ability to provide a comprehensive solution. The suggestions provided are based on the available error messages.

Recommendation

Apply workaround: Use offset and limit parameters to read specific portions of the file, as this is a direct solution to the MaxFileReadTokenExceededError messages.

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