[Bug] Anthropic API Error: Conversation too long during compaction
Resolved 💬 3 comments Opened Feb 14, 2026 by fwends Closed Mar 15, 2026
Bug Description
compact
⎿ Error: Error during compaction: Error: Conversation too long. Press esc twice to go up a few messages and
try again.
I'm gonna stop paying for this crap. I don't need these problems constantly from Anthropic or Opus. That all of a sudden you decide you can't compact it anymore.
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 2.1.39
- Feedback ID: 178bf927-f72d-4b5f-8cfc-fa3f385b1b6b
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/greg/.local/share/claude/versions/2.1.39 (expected in multi-process scenarios)\n at wVR (/$bunfs/root/claude:3626:2098)\n at DjA (/$bunfs/root/claude:3626:1209)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-11T04:21:13.178Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readFileSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:742)\n at B2 (/$bunfs/root/claude:11:49917)\n at readFileSync (/$bunfs/root/claude:12:701)\n at OPB (/$bunfs/root/claude:6130:18120)\n at call (/$bunfs/root/claude:3301:2415)\n at uW8 (/$bunfs/root/claude:3479:14100)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-13T11:02:32.799Z"},{"error":"MaxFileReadTokenExceededError: File content (34365 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 qPB (/$bunfs/root/claude:3292:3360)\n at async call (/$bunfs/root/claude:3301:2475)\n at async <anonymous> (/$bunfs/root/claude:5800:1669)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-13T11:11:08.320Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/claude:358:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-13T11:22:11.260Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/claude:358:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-13T11:22:27.698Z"},{"error":"Error\n at <anonymous> (/$bunfs/root/claude:43:10685)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/claude:42:5642)\n at request (/$bunfs/root/claude:45:2149)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-13T11:23:29.063Z"},{"error":"Error: 1P event logging: 26 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n at queueFailedEvents (/$bunfs/root/claude:1891:2350)\n at async doExport (/$bunfs/root/claude:1891:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-13T11:23:31.789Z"},{"error":"Error: {\"message\":\"Failed to export 26 events (code=ECONNABORTED, timeout of 10000ms exceeded)\",\"originalLine\":\"1891\",\"originalColumn\":\"1409\",\"line\":\"1891\",\"column\":\"1409\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 26 events (code=ECONNABORTED, timeout of 10000ms exceeded)\\n at doExport (/$bunfs/root/claude:1891:1409)\\n at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n at error (/$bunfs/root/claude:1934:25028)\n at <anonymous> (/$bunfs/root/claude:1886:19938)\n at Iv7 (/$bunfs/root/claude:1886:20482)\n at <anonymous> (/$bunfs/root/claude:1887:17366)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-13T11:23:31.789Z"},{"error":"Error: Request was aborted.\n at oGR (/$bunfs/root/claude:865:99149)\n at next (native:1:11)\n at ssB (/$bunfs/root/claude:5705:4480)\n at next (native:1:11)\n at esB (/$bunfs/root/claude:5710:7793)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T01:03:32.327Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/claude:358:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T01:04:33.575Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/claude:358:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T01:05:10.952Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/claude:358:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T01:07:20.945Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/claude:358:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T01:07:53.215Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/claude:358:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T01:08:04.665Z"},{"error":"Error: Request was aborted.\n …
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗