Bug Description
/init is analyzing your codebase…
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.2:
tool_use ids were found without tool_result blocks immediately after:
toolu_01EgkyMSUE7kWq9aPLHycqgz. Each tool_use block must have a corresponding tool_result block in
the next message."},"request_id":"req_011CSVr7aBmVBX3fycHTLhQf"}
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 1.0.92
- Feedback ID: 915c7c6f-43c4-417d-a68e-57077edbbd0d
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.2: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01EgkyMSUE7kWq9aPLHycqgz. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CSVr7aBmVBX3fycHTLhQf\"}\n at b4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:926:2412)\n at CP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:2101)\n at CP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:5314)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async YQB.yZ1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:27488)\n at async yZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:16483)\n at async YQB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:27318)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:22272\n at async bz0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:3656)\n at async Re (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:22242)","timestamp":"2025-08-26T06:28:06.946Z"}]
Bug Description
/init is analyzing your codebase…
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.2:
tool_useids were found withouttool_resultblocks immediately after:toolu_01EgkyMSUE7kWq9aPLHycqgz. Each
tool_useblock must have a correspondingtool_resultblock inthe next message."},"request_id":"req_011CSVr7aBmVBX3fycHTLhQf"}
Environment Info
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.2: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01EgkyMSUE7kWq9aPLHycqgz. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CSVr7aBmVBX3fycHTLhQf\"}\n at b4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:926:2412)\n at CP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:2101)\n at CP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:5314)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async YQB.yZ1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:27488)\n at async yZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:16483)\n at async YQB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:27318)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:22272\n at async bz0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:3656)\n at async Re (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:22242)","timestamp":"2025-08-26T06:28:06.946Z"}]