[Bug] Context limit error on new conversation with few messages
Resolved 💬 4 comments Opened Feb 9, 2026 by williamritossa Closed Mar 12, 2026
Bug Description
Claude Code CLI is saying Context limit reached · /compact or /clear to continue however the session is very new and only ~3 short messages in. I get the same error if I do /compact.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.37
- Feedback ID: b863dbd5-05ff-498f-abfe-f8c1aa1086ec
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/williamritossa/.local/share/claude/versions/2.1.37 (expected in multi-process scenarios)\n at GFR (/$bunfs/root/claude:3584:2098)\n at ebA (/$bunfs/root/claude:3584:1209)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-09T08:20:18.278Z"},{"error":"MaxFileReadTokenExceededError: File content (32365 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at izB (/$bunfs/root/claude:3260:3309)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-09T08:24:05.571Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/claude:336:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-09T08:34:13.745Z"},{"error":"MaxFileReadTokenExceededError: File content (32900 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at izB (/$bunfs/root/claude:3260:3309)\n at async call (/$bunfs/root/claude:3269:2420)\n at async <anonymous> (/$bunfs/root/claude:5778:1675)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-09T08:40:52.578Z"},{"error":"MaxFileReadTokenExceededError: File content (26358 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at izB (/$bunfs/root/claude:3260:3309)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-09T08:57:03.292Z"},{"error":"MaxFileReadTokenExceededError: File content (26358 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at izB (/$bunfs/root/claude:3260:3309)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-09T08:57:07.099Z"},{"error":"MaxFileReadTokenExceededError: File content (27132 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at izB (/$bunfs/root/claude:3260:3309)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-09T08:57:07.848Z"},{"error":"MaxFileReadTokenExceededError: File content (26358 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at izB (/$bunfs/root/claude:3260:3309)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-09T08:57:12.001Z"},{"error":"MaxFileReadTokenExceededError: File content (26358 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at izB (/$bunfs/root/claude:3260:3309)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-09T08:57:18.756Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/claude:336:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-09T08:57:58.007Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/claude:336:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-09T09:00:45.279Z"},{"error":"MaxFileReadTokenExceededError: File content (48975 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at izB (/$bunfs/root/claude:3260:3309)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-09T09:14:34.757Z"},{"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_011CXxFSrfsAZx8xCkf5pygc\"}\n at generate (/$bunfs/root/claude:319:9006)\n at makeRequest (/$bunfs/root/claude:336:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-09T09:21:51.593Z"},{"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_011CXxFSuu6DngjJaEgwy9qQ\"}\n at…
Note: Content was truncated.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗