Anthropic API: Unexpected Token Truncation in Claude Opus Conversation
Resolved 💬 5 comments Opened Jul 17, 2025 by duribebe Closed Aug 20, 2025
Bug Description
Claude Opus 4 just stops for no reason and I have to continiously write "continue" but still, barely gets to 300 tokens and then stops again.
Environment Info
- Platform: linux
- Terminal: vscode
- Version: 1.0.53
- Feedback ID: 077cd2b4-7f52-4287-b36c-4753aa6ca709
Errors
[{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n at Socket.onChildStdout (node:child_process:482:14)\n at Socket.emit (node:events:507:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Readable.push (node:internal/streams/readable:390:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-07-17T05:02:17.827Z"}]This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗