[BUG] API Error: 400 due to tool use concurrency issues.
Resolved 💬 17 comments Opened Jan 24, 2026 by Bensmirus Closed Feb 28, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Hello, I was using claude in cursor just fine. The day I tried claude in vs code, this error started. Now I can no longer use claude in cursor or vs code, I tried many fixes.
I have claude max.
What Should Happen?
Claude should not interrupt chat
Error Messages/Logs
API Error: 400 due to tool use concurrency issues.
Steps to Reproduce
Open Cursor
Start a new claude chat
Write a prompt
It fails after a few seconds
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.19
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Cursor
Additional Information
_No response_
Showing cached comments. Read the full discussion on GitHub ↗
16 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
We're seeing the exact same behavior after upgrading to v2.1.19.
try downgrading to 2.16/2.7, and this problem still persists.
So this is an issue on anthropic side
2.15 works for me
How to downgrade ?
Hey, just wanted to let you know - I encountered the same issue when using the Claude Code extension (Antigravity).
Running the same claude code version (v2.1.19 ) in the terminal works without any issues... So pretty sure you can use the terminal as a temp workaround
curl -fsSL https://claude.ai/install.sh | bash -s 2.1.15I was having this same issue. Downgraded to 2.1.15, and turned off Auto-Update. Seems to be working.
✅ WORKAROUND FOUND
The fix: Install VS Code extension version 2.1.17 while keeping CLI at 2.1.19
Steps:
Result: Extension 2.1.17 + CLI 2.1.19 = ✅ Works
The bug is in the VS Code extension code (2.1.18/2.1.19), not the CLI or API.
I am also experiencing this just simply using claude.ai/code
I had to defer to just using CLI, downgrading didn't work
I had this issue using VS Code. Here is what solved it for me:
then
Seeing this issue and diagnosed it as the following using Copilot CLI 😛
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
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.