Missing Tool Result Block for Tool Use ID toolu_01UQBKWLMJewdBryZm8poH48

Resolved 💬 3 comments Opened Aug 5, 2025 by YongBoYu1 Closed Aug 5, 2025

Bug Description
api err API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.121: tool_use ids
were found without tool_result blocks immediately after: toolu_01UQBKWLMJewdBryZm8poH48. Each tool_use block
must have a corresponding tool_result block in the next message."}}
⎿  Interrupted by user

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.69
  • Feedback ID: 90792d19-8703-4f02-b055-edeac13c37f8

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at LX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1623:1184)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1623:912\n    at Array.map (<anonymous>)\n    at MX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1623:903)\n    at OlB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2866:7822)\n    at yR (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n    at Zf (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42848)\n    at Bf (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38369)\n    at Sj (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38297)\n    at oR (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38151)","timestamp":"2025-08-05T22:15:57.308Z"}]

View original on GitHub ↗

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