I'm still getting this happening a lot when i'm trying to work
Bug Description
⎿ API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"messages.193:
tool_use ids were found without tool_result blocks immediately after:
toolu_01NLLHh1bJg94Kq7T6SdoBG2. Each tool_use block must have a corresponding
tool_result block in the next message."}}
⎿ {
"totalEntries": 121,
"deadEntries": 120,
… +2 lines (ctrl+r to expand)
⎿ API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"messages.193:
tool_use ids were found without tool_result blocks immediately after:
toolu_01NLLHh1bJg94Kq7T6SdoBG2. Each tool_use block must have a corresponding
tool_result block in the next message."}}
Please carry on...
⎿ API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"messages.193:
tool_use ids were found without tool_result blocks immediately after:
toolu_01NLLHh1bJg94Kq7T6SdoBG2. Each tool_use block must have a corresponding
tool_result block in the next message."}}
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 1.0.29
- Feedback ID: e1b15b8a-419e-41e8-bbef-ab461d962582
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:892:11)\n at execSync (node:child_process:964:15)\n at EZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:659:3921)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:9014\n at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n at QX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:8160)\n at qS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:7241)\n at L9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11408)","timestamp":"2025-06-19T09:23:20.572Z"},{"error":"Error: Request was aborted.\n at Ow.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:3784)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-19T09:40:50.097Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.193: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01NLLHh1bJg94Kq7T6SdoBG2. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"}}\n at d6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1300:12578)\n at Ow.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:2082)\n at Ow.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:5257)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async RE2.L11.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1670:22466)\n at async L11 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1670:12368)\n at async RE2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1670:22312)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1670:17441\n at async nt1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1670:5121)\n at async Hu (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1670:17411)","timestamp":"2025-06-19T13:17:39.569Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.193: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01NLLHh1bJg94Kq7T6SdoBG2. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"}}\n at d6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1300:12578)\n at Ow.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:2082)\n at Ow.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:5257)\n at
Note: Error logs were truncated.
I'm still getting this happening a lot when i'm trying to work
Bug Description
⎿ API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"messages.193:
tool_useids were found withouttool_resultblocks immediately after:toolu_01NLLHh1bJg94Kq7T6SdoBG2. Each
tool_useblock must have a correspondingtool_resultblock in the next message."}}⎿ {
"totalEntries": 121,
"deadEntries": 120,
… +2 lines (ctrl+r to expand)
⎿ API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"messages.193:
tool_useids were found withouttool_resultblocks immediately after:toolu_01NLLHh1bJg94Kq7T6SdoBG2. Each
tool_useblock must have a correspondingtool_resultblock in the next message."}}Environment Info
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:892:11)\n at execSync (node:child_process:964:15)\n at EZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:659:3921)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:9014\n at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n at QX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:8160)\n at qS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:7241)\n at L9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11408)","timestamp":"2025-06-19T09:23:20.572Z"},{"error":"Error: Request was aborted.\n at Ow.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:3784)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-19T09:40:50.097Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.193: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01NLLHh1bJg94Kq7T6SdoBG2. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"}}\n at d6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1300:12578)\n at Ow.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:2082)\n at Ow.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:5257)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async RE2.L11.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1670:22466)\n at async L11 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1670:12368)\n at async RE2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1670:22312)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1670:17441\n at async nt1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1670:5121)\n at async Hu (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1670:17411)","timestamp":"2025-06-19T13:17:39.569Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.193: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01NLLHh1bJg94Kq7T6SdoBG2. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"}}\n at d6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1300:12578)\n at Ow.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:2082)\n at Ow.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:5257)\n atNote: Error logs were truncated.