Anthropic API Error: Unexpected Context Truncation During Code Generation
Resolved 💬 1 comment Opened Aug 20, 2025 by Dimitri-Jacquin Closed Aug 20, 2025
Bug Description
Compact summary (ctrl+r to expand)
⎿ Referenced file web-app/types/database.ts
⎿ Referenced file web-app/lib/database.types.ts
⎿ Todo list read (7 items)\
AFTER COMPACTING ---->Context left until auto-compact: 0%. --> Game over (100$ plan...)
\
Claude is broken!!!!!
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 1.0.85
- Feedback ID: 5221ddf4-7ad7-4081-8505-d93df86b5907
Errors
[{"error":"Error: Request was aborted.\n at J71._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:940:7955)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-20T22:09:36.987Z"},{"error":"Error: Failed to get summary response from streaming\n at Ob1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2401:1006)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async $PB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2401:3707)\n at async RU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3398:1106)\n at async RU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3398:3672)\n at async RU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3398:3672)\n at async RU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3398:3672)\n at async RU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3398:3672)\n at async RU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3398:3672)\n at async RU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3398:3672)","timestamp":"2025-08-20T22:09:36.994Z"},{"error":"Error: Request was aborted.\n at bP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:3652)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-20T22:09:37.003Z"},{"error":"Error: Request was aborted.\n at J71._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:940:7955)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-20T22:15:06.928Z"},{"error":"Error: Failed to get summary response from streaming\n at Ob1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2401:1006)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async $PB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2401:3707)\n at async RU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3398:1106)\n at async RU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3398:3672)\n at async RU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3398:3672)\n at async RU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3398:3672)\n at async RU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3398:3672)\n at async RU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3398:3672)\n at async RU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3398:3672)","timestamp":"2025-08-20T22:15:06.936Z"},{"error":"Error: Request was aborted.\n at bP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:3652)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-20T22:15:06.945Z"}]This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗