Bug Description
Timed out. Then I trid going back the previous prompt and continuing from there. Then that somehow got 2 agents running in the same time, trying to do the same thing. I ran a /exit to stop it then resumed but now it's saying API Error: 400 {"type":"error","error":{"type":"invalid_reques
t_error","message":"messages.25: tool_use ids were found
without tool_result blocks immediately after:
toolu_01EqqrC85cWcn92HsggWCakB. Each tool_use block must
have a corresponding tool_result block in the next
message."}}
Environment Info
- Platform: darwin
- Terminal: rider
- Version: 1.0.72
- Feedback ID: 6379df44-7b45-4b2c-adc5-9f7265fc1fce
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.25: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01EqqrC85cWcn92HsggWCakB. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"}}\n at Q6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:933:2303)\n at uP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:950:2101)\n at uP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:950:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async RRB.rZ1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:24594)\n at async rZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:13631)\n at async RRB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:24445)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:19427\n at async Iq0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:5163)\n at async P11 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:19397)","timestamp":"2025-08-10T18:11:48.288Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.25: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01EqqrC85cWcn92HsggWCakB. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"}}\n at Q6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:933:2303)\n at uP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:950:2101)\n at uP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:950:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async RRB.rZ1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:24594)\n at async rZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:13631)\n at async RRB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:24445)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:19427\n at async Iq0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:5163)\n at async P11 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:19397)","timestamp":"2025-08-10T18:12:02.284Z"}]
Bug Description
Timed out. Then I trid going back the previous prompt and continuing from there. Then that somehow got 2 agents running in the same time, trying to do the same thing. I ran a /exit to stop it then resumed but now it's saying API Error: 400 {"type":"error","error":{"type":"invalid_reques
t_error","message":"messages.25:
tool_useids were foundwithout
tool_resultblocks immediately after:toolu_01EqqrC85cWcn92HsggWCakB. Each
tool_useblock musthave a corresponding
tool_resultblock in the nextmessage."}}
Environment Info
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.25: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01EqqrC85cWcn92HsggWCakB. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"}}\n at Q6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:933:2303)\n at uP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:950:2101)\n at uP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:950:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async RRB.rZ1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:24594)\n at async rZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:13631)\n at async RRB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:24445)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:19427\n at async Iq0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:5163)\n at async P11 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:19397)","timestamp":"2025-08-10T18:11:48.288Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.25: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01EqqrC85cWcn92HsggWCakB. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"}}\n at Q6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:933:2303)\n at uP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:950:2101)\n at uP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:950:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async RRB.rZ1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:24594)\n at async rZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:13631)\n at async RRB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:24445)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:19427\n at async Iq0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:5163)\n at async P11 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1743:19397)","timestamp":"2025-08-10T18:12:02.284Z"}]