[Bug] Anthropic API Error: Tool result block missing corresponding tool use block
Status Fixed / completed
Reported on v2.1.150
Maintainer reply None cached
Activity 3 comments · opened May 26, 2026 · closed May 28, 2026
Bug Description
API Error: 400 messages.3.content.0: unexpected tool_use_id found in advisor_tool_result blocks: srvtoolu_01CEWJGSAardci5Upwgm4P6a. Each advisor_tool_result block must have
a corresponding server_tool_use block before it.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.150
- Feedback ID: 120136db-1228-4082-8759-0832c0b1a146
Errors
[]
3 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Seeing this as well
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.