Bug Description
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.47:
tool_use ids were found without tool_result blocks immediately after:
toolu_01JhezHUcKqdJmNTZomwSQTt. Each tool_use block must have a corresponding tool_result
block in the next message."}}
Environment Info
- Platform: win32
- Terminal: null
- Version: 1.0.56
- Feedback ID: 84aac050-9882-4c50-843a-6dfb731e7fc4
Errors
[{"error":"Error: ENOENT: no such file or directory, open 'D:\\proc\\version'\n at Module.readFileSync (node:fs:442:20)\n at Object.readFileSync (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:615:7077)\n at file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:615:8638\n at Q (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:609:14408)\n at kT4 (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:709:62815)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-19T10:50:58.299Z"},{"error":"Error: Command failed: tasklist | findstr /I \"Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\"\nFINDSTR: Cannot open Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\r\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:882:11)\n at execSync (node:child_process:954:15)\n at A7 (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:797:5848)\n at fn (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1278:1937)\n at file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2726:9388\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2479:7034\n at async Promise.all (index 12)","timestamp":"2025-07-19T10:50:59.718Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at IW (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1423:1184)\n at file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1423:912\n at Array.map (<anonymous>)\n at DW (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1423:903)\n at THB (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2334:7353)\n at aq (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:65:19804)\n at Fy (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:42569)\n at Gy (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:38118)\n at IO (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:38046)\n at VN (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:37900)","timestamp":"2025-07-19T10:51:05.329Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at IW (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1423:1184)\n at file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1423:912\n at Array.map (<anonymous>)\n at DW (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1423:903)\n at THB (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2334:7353)\n at aq (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:65:19804)\n at Fy (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:42569)\n at Gy (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:38118)\n at IO (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:38046)\n at VN (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:37900)","timestamp":"2025-07-19T10:51:05.384Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at IW (file:///C:/Users/Aidom/
Note: Error logs were truncated.
Bug Description
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.47:
tool_useids were found withouttool_resultblocks immediately after:toolu_01JhezHUcKqdJmNTZomwSQTt. Each
tool_useblock must have a correspondingtool_resultblock in the next message."}}
Environment Info
Errors
[{"error":"Error: ENOENT: no such file or directory, open 'D:\\proc\\version'\n at Module.readFileSync (node:fs:442:20)\n at Object.readFileSync (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:615:7077)\n at file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:615:8638\n at Q (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:609:14408)\n at kT4 (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:709:62815)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-19T10:50:58.299Z"},{"error":"Error: Command failed: tasklist | findstr /I \"Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\"\nFINDSTR: Cannot open Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\r\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:882:11)\n at execSync (node:child_process:954:15)\n at A7 (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:797:5848)\n at fn (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1278:1937)\n at file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2726:9388\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2479:7034\n at async Promise.all (index 12)","timestamp":"2025-07-19T10:50:59.718Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at IW (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1423:1184)\n at file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1423:912\n at Array.map (<anonymous>)\n at DW (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1423:903)\n at THB (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2334:7353)\n at aq (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:65:19804)\n at Fy (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:42569)\n at Gy (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:38118)\n at IO (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:38046)\n at VN (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:37900)","timestamp":"2025-07-19T10:51:05.329Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at IW (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1423:1184)\n at file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1423:912\n at Array.map (<anonymous>)\n at DW (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1423:903)\n at THB (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2334:7353)\n at aq (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:65:19804)\n at Fy (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:42569)\n at Gy (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:38118)\n at IO (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:38046)\n at VN (file:///C:/Users/Aidom/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:37900)","timestamp":"2025-07-19T10:51:05.384Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at IW (file:///C:/Users/Aidom/Note: Error logs were truncated.