[BUG] API Error 400 with claude --continue
Resolved 💬 1 comment Opened Jul 8, 2025 by SolsticeSpectrum Closed Jul 8, 2025
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.44 (Claude Code)
- Operating System: Arch Linux
- Terminal: kitty
Bug Description
In one project when I use claude --continue it throws
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.61: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01Fw99KfveHr2LcPaqDYgTYC. Each `tool_use` block must have a corresponding `tool_result` block in the next message."}}
it does not happen in other projects
Steps to Reproduce
I do not know how to reproduce this bug
Expected Behavior
It should answer with proper response
Actual Behavior
As described above
Additional Context
I have submitted a feedback using /bug with id 1421edcf-5be3-4dcc-8723-6259a5ab1e42
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗