[Bug] Compaction Failure: Conversation Length Exceeded Limit

Resolved 💬 3 comments Opened Oct 1, 2025 by yashasvigirdhar Closed Oct 5, 2025

Bug Description
Error during compaction: Error: Conversation too long

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.0.1
  • Feedback ID: 1bdb82d9-ce3f-4c5c-949a-5ecd7628f092

Errors

[{"error":"AxiosError: Request failed with status code 401\n    at fN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:715:1077)\n    at IncomingMessage.z0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:716:9955)\n    at IncomingMessage.emit (node:events:519:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at vQ1.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:718:2088)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async UWA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:895:3745)","timestamp":"2025-10-01T11:11:08.113Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at QK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:1183)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:911\n    at Array.map (<anonymous>)\n    at xX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:902)\n    at dJB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2847:9380)\n    at CC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:19415)\n    at Fp (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:42814)\n    at I9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38355)\n    at Ch (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38283)\n    at TC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38137)","timestamp":"2025-10-01T11:39:08.707Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at QK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:1183)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:911\n    at Array.map (<anonymous>)\n    at xX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:902)\n    at dJB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2847:9380)\n    at CC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:19415)\n    at Fp (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:42814)\n    at I9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38355)\n    at Ch (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38283)\n    at TC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38137)","timestamp":"2025-10-01T11:57:09.143Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at QK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:1183)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:911\n    at Array.map (<anonymous>)\n    at xX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:902)\n    at dJB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2847:9380)\n    at CC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:19415)\n    at Fp (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:42814)\n    at I9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38355)\n    at Ch (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38283)\n    at TC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38137)","timestamp":"2025-10-01T11:59:34.126Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at QK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:1183)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:911\n    at Array.map (<anonymous>)\n    at xX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:902)\n    at dJB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2847:9380)\n    at CC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:19415)\n    at Fp (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:42814)\n    at I9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38355)\n    at Ch (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38283)\n   

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗