Anthropic API error: POST
Pre-submit Checks
- [x] I have searched Warp bugs and there are no duplicates
- [x] I have searched Warp known issues page and my issue is not there
- [ ] I have an issue with AI and have included the debugging ID (Optional, but helps expedite the AI quality fix). Debugging ID instructions
- [ ] I have technical issue and have included the logs (optional, but helps expedite the bug fix). Log instructions
Describe the bug
I'm sorry, I couldn't complete that request.
Response stream finished unexpectedly with internal error: Anthropic API error: POST "https://api.anthropic.com/v1/messages": 400 Bad Request (Request-ID: req_011CVxe5BTbeqxFrvk9UyzMy) {"type":"error","error":{"type":"invalid_request_error","message":"messages.34: tool_use ids were found without tool_result blocks immediately after: toolu_014UsmnH8muQa8h3iTDijrUd. Each tool_use block must have a corresponding tool_result block in the next message."},"request_id":"req_011CVxe5BTbeqxFrvk9UyzMy"}
To reproduce
check my security configuration on <GCP VENDOR>
Expected behavior
No response
Screenshots, videos, and logs
No response
Operating system (OS)
macOS
Operating system and version
15.6.1 (24G90)
Shell Version
No response
Current Warp version
No response
Regression
Yes, this bug started recently or with an X Warp version
Recent working Warp date
No response
Additional context
No response
Does this block you from using Warp daily?
No
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
Are you using the Anthropic API key by any chance?
No