[Bug] Context limit error during active compacting operation

Resolved 💬 3 comments Opened Feb 25, 2026 by Victorpay1 Closed Mar 1, 2026

Bug Description
In this session I was doing some compacting and I got the error message saying "context limit reached" and you have to compact, but I was already compacting so something went wrong in the compacting.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.56
  • Feedback ID: 10175739-a2c4-48e7-81e9-1d1418b023c6

Errors

[{"error":"Error\n    at jKR (/$bunfs/root/claude:1926:11175)\n    at async $9B (/$bunfs/root/claude:1934:378)\n    at async yv7 (/$bunfs/root/claude:1934:8500)\n    at processTicksAndRejections (unknown:7:39)","timestamp":"2026-02-25T19:07:55.033Z"},{"error":"Error: Plugin Notion has an invalid manifest file at /Users/victorpaytuvi/.claude/plugins/cache/claude-plugins-official/Notion/0.1.0/.claude-plugin/plugin.json.\n\nValidation errors: : Unrecognized keys: \"category\", \"source\"\n\nPlease fix the manifest or remove it. The plugin cannot load with an invalid manifest.\n    at jKR (/$bunfs/root/claude:1926:11175)\n    at async $9B (/$bunfs/root/claude:1934:378)\n    at async yv7 (/$bunfs/root/claude:1934:8500)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T19:07:55.033Z"},{"error":"Error: API Error: The model has reached its context window limit.\n    at qXT (/$bunfs/root/claude:2136:795)\n    at async XBB (unknown)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T19:37:16.406Z"},{"error":"Error: API Error: The model has reached its context window limit.\n    at qXT (/$bunfs/root/claude:2136:795)\n    at async XBB (unknown)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T19:38:26.186Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 185051 tokens > 180000 maximum\"},\"request_id\":\"req_011CYVMQsUFWnY9hmgdTftcg\"}\n    at generate (/$bunfs/root/claude:267:28317)\n    at makeRequest (/$bunfs/root/claude:306:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T19:38:30.965Z"},{"error":"Error: Conversation too long. Press esc twice to go up a few messages and try again.\n    at qXT (/$bunfs/root/claude:2136:939)\n    at async XBB (/$bunfs/root/claude:2219:2998)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T19:38:30.969Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 183902 tokens > 180000 maximum\"},\"request_id\":\"req_011CYVMQxTdqijyp5BC5cT2E\"}\n    at generate (/$bunfs/root/claude:267:28317)\n    at makeRequest (/$bunfs/root/claude:306:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T19:38:32.417Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 184980 tokens > 180000 maximum\"},\"request_id\":\"req_011CYVMSEezk3tMJxryVPAqd\"}\n    at generate (/$bunfs/root/claude:267:28317)\n    at makeRequest (/$bunfs/root/claude:306:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T19:38:49.717Z"},{"error":"Error: Conversation too long. Press esc twice to go up a few messages and try again.\n    at qXT (/$bunfs/root/claude:2136:939)\n    at async <anonymous> (/$bunfs/root/claude:3607:56)\n    at async m68 (/$bunfs/root/claude:2445:3673)\n    at async ZYB (/$bunfs/root/claude:2445:1067)\n    at async ES8 (/$bunfs/root/claude:11495:2409)\n    at async IMR (/$bunfs/root/claude:11493:3439)\n    at async Jg8 (/$bunfs/root/claude:11633:23952)\n    at async wSR (/$bunfs/root/claude:11633:23123)\n    at async <anonymous> (/$bunfs/root/claude:11643:8673)\n    at async <anonymous> (/$bunfs/root/claude:11625:5321)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T19:38:49.722Z"},{"error":"Error: Error during compaction: Error: Conversation too long. Press esc twice to go up a few messages and try again.\n    at <anonymous> (/$bunfs/root/claude:3608:189)\n    at async m68 (/$bunfs/root/claude:2445:3673)\n    at async ZYB (/$bunfs/root/claude:2445:1067)\n    at async ES8 (/$bunfs/root/claude:11495:2409)\n    at async IMR (/$bunfs/root/claude:11493:3439)\n    at async Jg8 (/$bunfs/root/claude:11633:23952)\n    at async wSR (/$bunfs/root/claude:11633:23123)\n    at async <anonymous> (/$bunfs/root/claude:11643:8673)\n    at async <anonymous> (/$bunfs/root/claude:11625:5321)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T19:38:49.722Z"}]

View original on GitHub ↗

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