Invalid API Request: Empty Message Content Violation
Resolved 💬 1 comment Opened Jul 9, 2025 by relaxis Closed Jul 9, 2025
Bug Description
API ERROR 400 ALL MESSAGES MUST HAVE NON-EMPTY CONTENT EXCEPT FOR THE OPTIONAL FINAL ASSISTANT MESSAGE
Environment Info
- Platform: linux
- Terminal: konsole
- Version: 1.0.45
- Feedback ID:
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:518:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-07-09T14:16:34.557Z"},{"error":"AxiosError: Request failed with status code 403\n at bH (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:528:1070)\n at Unzip.VA (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:529:9953)\n at Unzip.emit (node:events:530:35)\n at Unzip.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n at li.request (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:531:2081)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async n51 (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:4119)\n at async Ay1 (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:6964)\n at async Z21.startOAuthFlow (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2113:3872)\n at async file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2320:1173","timestamp":"2025-07-09T14:16:46.194Z"},{"error":"Error: Failed to access repository relaxis/TGRAMBOT\n at Kb2 (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2315:597)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2320:4892","timestamp":"2025-07-09T14:16:47.205Z"},{"error":"AxiosError: Request failed with status code 403\n at bH (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:528:1070)\n at Unzip.VA (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:529:9953)\n at Unzip.emit (node:events:530:35)\n at Unzip.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n at li.request (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:531:2081)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async n51 (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:4119)\n at async Ay1 (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:6964)\n at async Z21.startOAuthFlow (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2113:3872)\n at async file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2320:1173","timestamp":"2025-07-09T14:18:00.734Z"},{"error":"Error: Failed to access repository relaxis/TGRAMBOT\n at Kb2 (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2315:597)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2320:4892","timestamp":"2025-07-09T14:18:01.746Z"},{"error":"AxiosError: Request failed with status code 403\n at bH (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:528:1070)\n at Unzip.VA (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:529:9953)\n at Unzip.emit (node:events:530:35)\n at Unzip.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n at li.request (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:531:2081)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async n51 (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:4119)\n at async Ay1 (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:6964)\n at async Z21.startOAuthFlow (file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2113:3872)\n at async file:///home/alexis/.npm-global/lib/node_modules/@anthropic-ai/claude-
Note: Error logs were truncated.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗