Bug Description
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.122: tool_use ids were found without tool_result blocks immediately after:
toolu_01YC4iYdsqrqqrUbjyzSutGh. Each tool_use block must have a corresponding tool_result block in the next message."}}
Environment Info
- Platform: linux
- Terminal: vscode
- Version: 1.0.43
- Feedback ID: e74aae4e-7b5c-48e5-9ceb-09ac3b0c7320
Errors
[{"error":"RangeError: path should be a `path.relative()`d string, but got \"../../../../tmp/claude-f564-cwd\"\n at GA9 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3373)\n at TN (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3550)\n at TxA._test (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4086)\n at TxA.ignores (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4588)\n at CM2 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1436:240)\n at AU6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:847)\n at Object.call (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:148)\n at call.next (<anonymous>)\n at hq6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1933:11470)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-07-04T06:43:00.966Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"../../../../tmp/claude-f575-cwd\"\n at GA9 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3373)\n at TN (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3550)\n at TxA._test (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4086)\n at TxA.ignores (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4588)\n at CM2 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1436:240)\n at AU6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:847)\n at Object.call (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:148)\n at call.next (<anonymous>)\n at hq6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1933:11470)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-07-04T06:43:00.966Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"../../../../tmp/claude-f578-cwd\"\n at GA9 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3373)\n at TN (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3550)\n at TxA._test (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4086)\n at TxA.ignores (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4588)\n at CM2 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1436:240)\n at AU6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:847)\n at Object.call (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:148)\n at call.next (<anonymous>)\n at hq6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1933:11470)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-07-04T06:43:00.967Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"../../../../tmp/claude-f5a8-cwd\"\n at GA9 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3373)\n at TN (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3550)\n at TxA._test (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4086)\n at TxA.ignores (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4588)\n at CM2 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1436:240)\n at AU6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:847)\n at Object.call (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:148)\n at call.next (<anonymous>)\n at hq6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1933:11470)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-07-04T06:43:00.967Z"},{"error":"RangeError: path should
Note: Error logs were truncated.
Bug Description
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.122:
tool_useids were found withouttool_resultblocks immediately after:toolu_01YC4iYdsqrqqrUbjyzSutGh. Each
tool_useblock must have a correspondingtool_resultblock in the next message."}}Environment Info
Errors
[{"error":"RangeError: path should be a `path.relative()`d string, but got \"../../../../tmp/claude-f564-cwd\"\n at GA9 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3373)\n at TN (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3550)\n at TxA._test (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4086)\n at TxA.ignores (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4588)\n at CM2 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1436:240)\n at AU6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:847)\n at Object.call (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:148)\n at call.next (<anonymous>)\n at hq6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1933:11470)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-07-04T06:43:00.966Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"../../../../tmp/claude-f575-cwd\"\n at GA9 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3373)\n at TN (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3550)\n at TxA._test (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4086)\n at TxA.ignores (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4588)\n at CM2 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1436:240)\n at AU6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:847)\n at Object.call (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:148)\n at call.next (<anonymous>)\n at hq6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1933:11470)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-07-04T06:43:00.966Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"../../../../tmp/claude-f578-cwd\"\n at GA9 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3373)\n at TN (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3550)\n at TxA._test (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4086)\n at TxA.ignores (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4588)\n at CM2 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1436:240)\n at AU6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:847)\n at Object.call (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:148)\n at call.next (<anonymous>)\n at hq6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1933:11470)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-07-04T06:43:00.967Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"../../../../tmp/claude-f5a8-cwd\"\n at GA9 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3373)\n at TN (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3550)\n at TxA._test (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4086)\n at TxA.ignores (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4588)\n at CM2 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1436:240)\n at AU6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:847)\n at Object.call (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:148)\n at call.next (<anonymous>)\n at hq6 (file:///home/jaco/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1933:11470)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-07-04T06:43:00.967Z"},{"error":"RangeError: path shouldNote: Error logs were truncated.