claude-code
claude-code copied to clipboard
Missing Tool Result Block for Tool Use ID toolu_01V9oyvQvnefvWAzdD2NPjCf
Bug Description
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.220: tool_use ids were found without
tool_result blocks immediately after: toolu_01V9oyvQvnefvWAzdD2NPjCf. Each tool_use block must have a corresponding tool_result block
in the next message."}}
Environment Info
- Platform: macos
- Terminal: cursor
- Version: 1.0.11
- Feedback ID: 462fa844-b373-47f8-bb42-b4a4c37521ff
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 __node_internal_genericNodeError (node:internal/errors:865:15)\n at checkExecSyncError (node:child_process:890:11)\n at execSync (node:child_process:962:15)\n at JZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:683:2402)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11763\n at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17069)\n at LU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10909)\n at HG (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10355)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2269:2177\n at Object.dO [as useState] (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:142:22774)","timestamp":"2025-06-05T04:55:27.740Z"},{"error":"Error: 1: 1 Error: ENOENT: no such file or directory, open '/opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/vendor/claude-code.vsix'\n at rf (file:///Applications/Cursor.app/Contents/Resources/app/out/vs/code/node/cliProcessMain.js:52:28814)\n at file:///Applications/Cursor.app/Contents/Resources/app/out/vs/code/node/cliProcessMain.js:52:30142\n at /Applications/Cursor.app/Contents/Resources/app/node_modules/yauzl/index.js:37:21\n at FSReqCallback.oncomplete (node:fs:188:23) {\n code: 'Extract',\n name: 'Extract'\n}\nFailed Installing Extensions: file:///opt/homebrew/lib/node_modules/%40anthropic-ai/claude-code/vendor/claude-code.vsix\n\n at UR6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1387:4470)\n at async wR6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1387:2566)","timestamp":"2025-06-05T04:55:29.808Z"},{"error":"ShellError: Shell command failed\n at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1547:1326)\n at async pZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:19078)\n at async YK1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:17664)\n at async dZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16706)\n at async hZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16356)\n at async oe (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:15392)\n at async oe (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16218)\n at async oe (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16218)\n at async oe (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16218)\n at async YB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2326:2083)","timestamp":"2025-06-05T04:57:30.670Z"},{"error":"ShellError: Shell command failed\n at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1547:1326)\n at async pZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:19078)\n at async YK1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:17664)\n at async dZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16706)\n at async hZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16356)\n at async oe (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:15392)\n at async oe (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16218)\n at async oe (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16218)\n at async oe (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16218)\n at async oe (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16218)","timestamp":"2025-06-05T04:57:39.298Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at bD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1913:8869)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1913:8603\n at Array.map
Note: Error logs were truncated.