Missing Tool Result Block for tool_call_id Task:54

Resolved 💬 3 comments Opened Aug 3, 2025 by nicknull Closed Aug 15, 2025

Bug Description
{"error":{"type":"invalid_request_error","message":"Invalid request: an
assistant message with 'tool_calls' must be followed by tool messages
responding to each 'tool_call_id'. The following tool_call_ids did not
have response messages: Task:54"}}

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 1.0.67
  • Feedback ID:

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 t7 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:867:5214)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:48453\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:14418)\n    at lJ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:45891)\n    at yz (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:44758)\n    at W9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:51079)","timestamp":"2025-08-03T05:59:30.827Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at CX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1576:1184)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1576:912\n    at Array.map (<anonymous>)\n    at KX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1576:903)\n    at tvB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2626:7823)\n    at KR (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n    at Mb (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42848)\n    at Nb (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38369)\n    at Bj (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38297)\n    at _R (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38151)","timestamp":"2025-08-03T05:59:34.823Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at CX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1576:1184)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1576:912\n    at Array.map (<anonymous>)\n    at KX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1576:903)\n    at tvB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2626:7823)\n    at KR (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n    at Mb (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42848)\n    at Nb (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38369)\n    at Bj (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38297)\n    at _R (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38151)","timestamp":"2025-08-03T05:59:34.830Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at CX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1576:1184)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1576:912\n    at Array.map (<anonymous>)\n    at KX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1576:903)\n    at tvB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2626:7823)\n    at KR (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n    at Mb (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42848)\n    at Nb (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38369)\n    at Bj (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38297)\n    at _R (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38151)","timestamp":"2025-08-03T05:59:34.832Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at CX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1576:1184)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1576:912\n    at Array.map (<anonymous>)\n    at KX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1576:903)\n    at tvB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2626:7823)\n    

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗