[Bug] Anthropic API Error: Conversation Length Limit Exceeded Unexpectedly
Status Closed — not planned
Maintainer reply None cached
Activity 3 comments · opened Oct 1, 2025 · closed Jan 7, 2026
Bug Description
getting an error that conversation is too long, but the context usage only shows me at 85k/200k (42%)
Environment Info
- Platform: win32
- Terminal: null
- Version: 2.0.1
- Feedback ID: 33be85c9-6111-4e31-a7fe-15b321a1db6b
Errors
[{"error":"Error: Failed to fetch version from stable: Error: ECONNREFUSED\n at aU9 (B:/~BUN/root/claude.exe:2104:771)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-30T06:38:49.723Z"},{"error":"Error: Failed to fetch version from stable: Error: ECONNREFUSED\n at aU9 (B:/~BUN/root/claude.exe:2104:771)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-30T09:56:16.629Z"},{"error":"Error: Failed to fetch version from stable: Error: ECONNREFUSED\n at aU9 (B:/~BUN/root/claude.exe:2104:771)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-30T15:45:29.284Z"},{"error":"Error: Failed to fetch version from stable: Error: ECONNREFUSED\n at aU9 (B:/~BUN/root/claude.exe:2104:771)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-30T19:30:20.080Z"},{"error":"Error: Failed to fetch version from stable: Error: ECONNREFUSED\n at aU9 (B:/~BUN/root/claude.exe:2104:771)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-30T21:41:10.379Z"},{"error":"Error: Failed to fetch version from stable: Error: ECONNREFUSED\n at aU9 (B:/~BUN/root/claude.exe:2104:771)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-01T00:53:45.559Z"},{"error":"Error: Failed to fetch version from stable: Error: ECONNREFUSED\n at aU9 (B:/~BUN/root/claude.exe:2104:771)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-01T03:42:41.841Z"},{"error":"Error: Failed to fetch version from stable: Error: ECONNREFUSED\n at aU9 (B:/~BUN/root/claude.exe:2104:771)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-01T04:29:39.545Z"},{"error":"Error: Failed to fetch version from stable: Error: ECONNREFUSED\n at aU9 (B:/~BUN/root/claude.exe:2104:771)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-01T05:23:20.525Z"},{"error":"Error: Request was aborted.\n at new G5 (unknown:1:28)\n at new _Y (B:/~BUN/root/claude.exe:716:20515)\n at new q2 (B:/~BUN/root/claude.exe:716:21301)\n at makeRequest (B:/~BUN/root/claude.exe:871:3864)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-01T05:25:29.019Z"},{"error":"MaxFileReadTokenExceededError: File content (45858 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 new eE0 (B:/~BUN/root/claude.exe:1533:1483)\n at FrG (B:/~BUN/root/claude.exe:1542:411)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-01T05:28:53.435Z"},{"error":"MaxFileReadTokenExceededError: File content (45858 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 new eE0 (B:/~BUN/root/claude.exe:1533:1483)\n at FrG (B:/~BUN/root/claude.exe:1542:411)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-01T05:29:01.830Z"},{"error":"MaxFileReadTokenExceededError: File content (45858 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 new eE0 (B:/~BUN/root/claude.exe:1533:1483)\n at FrG (B:/~BUN/root/claude.exe:1542:411)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-01T05:31:22.595Z"},{"error":"AbortError: The operation was aborted.\n at unknown\n at abortChildProcess (node:child_process:871:42)\n at onAbortListener2 (node:child_process:35:24)\n at abort (unknown)\n at <anonymous> (B:/~BUN/root/claude.exe:3557:80)","timestamp":"2025-10-01T06:02:25.172Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 200680 tokens > 200000 maximum\"},\"request_id\":\"req_011CTfyaJxoypET7RE5Vqg4c\"}\n at new G5 (unknown:1:28)\n at new _Y (B:/~BUN/root/claude.exe:716:20515)\n at new tZ0 (unknown:1:28)\n at generate (B:/~BUN/root/claude.exe:716:20972)\n at makeRequest (B:/~BUN/root/claude.exe:871:5359)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-01T06:06:21.853Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 201408 tokens > 200000 maximum\"},\"request_id\":\"req_011CTfyanmPSiwTVwKe8Wh9m\"}\n at ne
Note: Error logs were truncated.
> /context
⎿ Context Usage 85k/200k tokens (42%)
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ System prompt: 2.9k tokens (1.5%)
⛁ ⛁ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛁ System tools: 11.5k tokens (5.8%)
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛁ Memory files: 4.7k tokens (2.4%)
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛁ Messages: 65.5k tokens (32.7%)
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ Free space: 115k (57.7%)
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶
Memory files · /memory
└ Project 4.7k
(C:\Users\dnthe\AndroidStudioProjects\DemeraraStables\CLAUDE.md): tokens
SlashCommand Tool · 0 commands
└ Total: 757 tokens
> /compact
⎿ Error: Error during compaction: Error: Conversation too long. Press esc twice to go up a few messages and try againThis issue has 3 comments on GitHub. Read the full discussion on GitHub ↗