[Bug] Anthropic API Error causes session chat to become unresponsive
Status Open
Reported on v2.1.281
Maintainer reply None cached
Activity 1 comment · opened Sep 23, 2026
Bug Description
Received API error and could no longer chat in this session
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 2.1.281
- Feedback ID: a7d441a4-a4d5-45f5-be46-49ab7e62056f
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.3.content.0: unexpected `tool_use_id` found in `advisor_tool_result` blocks: srvtoolu_01PqVuU3mUUZB9kMSMXE92Ny. Each `advisor_tool_result` block must have a corresponding `server_tool_use` block before it.\"},\"request_id\":\"req_011CfLzrNdCmkNgsQuNzD44Q\"}\n at generate (/$bunfs/root/chunk-shf1fjz2.js:11:1140)\n at makeRequest (/$bunfs/root/chunk-9pj6s8ha.js:52:8038)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-09-23T20:25:21.481Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.3.content.0: unexpected `tool_use_id` found in `advisor_tool_result` blocks: srvtoolu_01PqVuU3mUUZB9kMSMXE92Ny. Each `advisor_tool_result` block must have a corresponding `server_tool_use` block before it.\"},\"request_id\":\"req_011CfLzsUVhXU5r42JwAFa39\"}\n at generate (/$bunfs/root/chunk-shf1fjz2.js:11:1140)\n at makeRequest (/$bunfs/root/chunk-9pj6s8ha.js:52:8038)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-09-23T20:25:36.440Z"}]This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗