[BUG] invalid_request_error
Resolved 💬 1 comment Opened Jul 15, 2025 by rheza Closed Sep 18, 2025
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.5: tool_use
ids were found without tool_result blocks immediately after: toolu_01SWBkC2GPGhoSfEqTZ6y91b. Each
tool_use block must have a corresponding tool_result block in the next message."}}
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗