[Bug] Anthropic API Error: Missing Tool Result Block for Tool Use (Claude Code)

Resolved 💬 3 comments Opened Sep 26, 2025 by erangross27 Closed Sep 30, 2025

Bug Description
 API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.17: tool_use ids were found without tool_result blocks immediately after:
toolu_01J8vrD3PepbQabMUt3AHtQ3. Each tool_use block must have a corresponding tool_result block in the next message."},"request_id":"req_011CTWygtTaKD7Mc6qfeELij"}

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 1.0.126
  • Feedback ID: 3dd63a75-479c-4341-ab21-4e413b2ff5b1

Errors

[]

View original on GitHub ↗

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