Rank, 14 days: 277 on the Claude Code sheet
4 people reported
All time, since Sep 17.
Orphaned advisor_tool_result 400
“From that point on, every request fails with the 400 above, always naming the same srvtoolu_… id and the same message index.”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/claude-code/issues/2900/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
Session stuck on 400 from orphaned advisor_tool_result block. After the advisor tool is used, every subsequent request fails; one report triggers it by running /compact.
Is this your bug?
File my report- Where
- advisor tool
- Error text
Each `advisor_tool_result` block must have a corresponding `server_tool_use` block before it.- Versions
- 2.1.273 to 2.1.312
- Platforms
- macOS
- How bad
- Breaks a normal workflow. Some reports say it blocks them completely.
Part of: Advisor blocks break session history3 bugs
Original reports4, newest first
- API Error 400: Unexpected tool_use_id in advisor_tool_result Blocks#106055
- Anthropic API Error: Unexpected
tool_use_idinadvisor_tool_resultBlock#96791 - Anthropic API Error: Missing server_tool_use block for tool_result#95406
- Orphaned advisor_tool_result after /compact makes the session permanently un-continuable (400)#95074