Bug Description
Environment Info
- Platform: darwin
- Terminal: WarpTerminal
- Version: 1.0.85
- Feedback ID:
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.4: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_019TTN5jxYpW7guynabdc1VA, toolu_01DbVNqRAQUoPgXDHESzMprA, toolu_01Dvqu52DmntopJzch6QMvgE, toolu_01NZdQXS8AokbdyaYpfBfWBg. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CSJpcUBeGkhvQqAvJ2WCx\"}\n at j4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:932:2412)\n at bP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:2101)\n at bP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async UD1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:27238)\n at async UD1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:16345)\n at async v9B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:27089)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:22183\n at async yH0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:3514)\n at async F11 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:22153)","timestamp":"2025-08-20T10:42:07.057Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.4: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_019TTN5jxYpW7guynabdc1VA, toolu_01DbVNqRAQUoPgXDHESzMprA, toolu_01Dvqu52DmntopJzch6QMvgE, toolu_01NZdQXS8AokbdyaYpfBfWBg. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CSJpir4CmW9qjhCRNjy8R\"}\n at j4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:932:2412)\n at bP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:2101)\n at bP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async UD1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:27238)\n at async UD1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:16345)\n at async v9B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:27089)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:22183\n at async yH0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:3514)\n at async F11 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:22153)","timestamp":"2025-08-20T10:43:33.914Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.0: all messages must have non-empty content except for the optional final assistant message\"},\"request_id\":\"req_011CSJpmPZqbZX4BLx9PoAyH\"}\n at j4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:932:2412)\n at bP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:2101)\n at bP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-20T10:43:55.272Z"},{"error":"Error: socket hang up\n at Vp.from (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:690:7205)\n at VV.C1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:693:10122)\n at VV.emit (node:events:508:28)\n at VV.emit (node:domain:489:12)\n at Ji1.<computed> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:64:1161)\n at ClientRequest.emit (node:events:508:28)\n at ClientRequest.emit (node:domain:489:12)\n at emitErrorEvent (node:_http_client:107:11)\n at TLSSocket.socketCloseListener (node:_http_client:547:7)\n at TLSSocket.emit (node:events:520:35)\n at eB1.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:695:2088)\n at async ZW8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2419:470)\n at async Promise.all (index 0)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2405:9163","timestamp":"2025-08-20T10:43:59.856Z"}]
Bug Description
Environment Info
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.4: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_019TTN5jxYpW7guynabdc1VA, toolu_01DbVNqRAQUoPgXDHESzMprA, toolu_01Dvqu52DmntopJzch6QMvgE, toolu_01NZdQXS8AokbdyaYpfBfWBg. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CSJpcUBeGkhvQqAvJ2WCx\"}\n at j4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:932:2412)\n at bP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:2101)\n at bP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async UD1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:27238)\n at async UD1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:16345)\n at async v9B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:27089)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:22183\n at async yH0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:3514)\n at async F11 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:22153)","timestamp":"2025-08-20T10:42:07.057Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.4: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_019TTN5jxYpW7guynabdc1VA, toolu_01DbVNqRAQUoPgXDHESzMprA, toolu_01Dvqu52DmntopJzch6QMvgE, toolu_01NZdQXS8AokbdyaYpfBfWBg. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CSJpir4CmW9qjhCRNjy8R\"}\n at j4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:932:2412)\n at bP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:2101)\n at bP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async UD1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:27238)\n at async UD1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:16345)\n at async v9B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:27089)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:22183\n at async yH0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:3514)\n at async F11 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:22153)","timestamp":"2025-08-20T10:43:33.914Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.0: all messages must have non-empty content except for the optional final assistant message\"},\"request_id\":\"req_011CSJpmPZqbZX4BLx9PoAyH\"}\n at j4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:932:2412)\n at bP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:2101)\n at bP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-20T10:43:55.272Z"},{"error":"Error: socket hang up\n at Vp.from (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:690:7205)\n at VV.C1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:693:10122)\n at VV.emit (node:events:508:28)\n at VV.emit (node:domain:489:12)\n at Ji1.<computed> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:64:1161)\n at ClientRequest.emit (node:events:508:28)\n at ClientRequest.emit (node:domain:489:12)\n at emitErrorEvent (node:_http_client:107:11)\n at TLSSocket.socketCloseListener (node:_http_client:547:7)\n at TLSSocket.emit (node:events:520:35)\n at eB1.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:695:2088)\n at async ZW8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2419:470)\n at async Promise.all (index 0)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2405:9163","timestamp":"2025-08-20T10:43:59.856Z"}]