Bug Description
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.265: tool_use ids were found without tool_result blocks immediately after:
toolu_01BCmPEJbQjeNZsWuvKxtGTK. Each tool_use block must have a corresponding tool_result block in the next message."}}
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 1.0.60
- Feedback ID: 3ea2a33b-bd9b-4067-b783-feb249550dac
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:882:11)\n at execSync (node:child_process:954:15)\n at i7 (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:865:5196)\n at file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:777:49014\n at Q (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:14420)\n at kJ (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:777:46725)\n at XH (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:777:45592)\n at I9 (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:777:51640)","timestamp":"2025-07-25T06:51:20.484Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at BX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:1184)\n at file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:912\n at Array.map (<anonymous>)\n at QX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:903)\n at g_B (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2525:7705)\n at gM (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n at gv (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42847)\n at fv (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38368)\n at RS (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38296)\n at ZR (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38150)","timestamp":"2025-07-25T07:03:58.050Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: hocon\n at BX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:1184)\n at file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:912\n at Array.map (<anonymous>)\n at QX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:903)\n at g_B (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2525:7705)\n at gM (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n at gv (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42847)\n at fv (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38368)\n at RS (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38296)\n at ZR (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38150)","timestamp":"2025-07-25T07:03:58.057Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at BX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:1184)\n at file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:2172\n at Array.map (<anonymous>)\n at BX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:2143)\n at file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:2059\n at Array.map (<anonymous>)\n at BX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:2048)\n at file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:912\n at Array.map (<anonymous>)\n at QX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@an
Note: Error logs were truncated.
Bug Description
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.265:
tool_useids were found withouttool_resultblocks immediately after:toolu_01BCmPEJbQjeNZsWuvKxtGTK. 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:882:11)\n at execSync (node:child_process:954:15)\n at i7 (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:865:5196)\n at file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:777:49014\n at Q (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:14420)\n at kJ (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:777:46725)\n at XH (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:777:45592)\n at I9 (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:777:51640)","timestamp":"2025-07-25T06:51:20.484Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at BX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:1184)\n at file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:912\n at Array.map (<anonymous>)\n at QX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:903)\n at g_B (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2525:7705)\n at gM (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n at gv (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42847)\n at fv (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38368)\n at RS (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38296)\n at ZR (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38150)","timestamp":"2025-07-25T07:03:58.050Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: hocon\n at BX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:1184)\n at file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:912\n at Array.map (<anonymous>)\n at QX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:903)\n at g_B (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2525:7705)\n at gM (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n at gv (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42847)\n at fv (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38368)\n at RS (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38296)\n at ZR (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38150)","timestamp":"2025-07-25T07:03:58.057Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at BX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:1184)\n at file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:2172\n at Array.map (<anonymous>)\n at BX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:2143)\n at file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:2059\n at Array.map (<anonymous>)\n at BX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:2048)\n at file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:912\n at Array.map (<anonymous>)\n at QX (file:///Users/georgecherianpynadath/.npm-global/lib/node_modules/@anNote: Error logs were truncated.