Bug: API Error 400 - tool use concurrency issues
Open 💬 18 comments Opened Jan 24, 2026 by hirata-kosuke
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?
Description
When executing custom slash commands, Claude Code repeatedly fails with:API Error: 400 due to tool use concurrency issues
Steps to Reproduce
- Create custom slash command in
.claude/commands/ - Execute command (e.g.,
/video-create テスト動画) - Answer the follow-up questions from AskUserQuestion
- Error occurs immediately after user response
Environment
- OS: Windows
- Claude Code version: 2.1.19 (Claude Code)
- Date: 2026/01/24
Screenshot
<img width="1816" height="404" alt="Image" src="https://github.com/user-attachments/assets/32dd82c9-a81d-4aa0-8d29-062078931ef9" />
Notes
- Error persists even after waiting 10+ minutes
- Error occurs after AskUserQuestion tool completes
- Simple commands without AskUserQuestion may also fail
What Should Happen?
- Create custom slash command in
.claude/commands/ - Execute command (e.g.,
/video-create テスト動画) - Answer the follow-up questions from AskUserQuestion
- Error occurs immediately after user response
Error Messages/Logs
API Error: 400 due to tool use concurrency issues
Steps to Reproduce
- Create custom slash command in
.claude/commands/ - Execute command (e.g.,
/video-create テスト動画) - Answer the follow-up questions from AskUserQuestion
- Error occurs immediately after user response
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.19 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
18 Comments
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
This has also started happening to me, I did interact with the new Rewind feature on a message but now all my conversations end quickly and abruptly in
API Error: 400 due to tool use concurrency issues.. Ive tried removing all my local state to reset or remove any broken commands / state locally but to no avail. I switched to another workspace, reinstalled the vscode extension. Nothing helps. I tried the global CLAUDE.md fix but it didnt help.It stops happening when I switch back to version: 2.1.17 and restart extensions, start a new chat.
Me too. Seems to be a persistent problem that Anthropic is ignoring.
Same for me with newer versions of CC, 2.1.6 working fine and later the issues came
Same for me, literally can't work
same issue!
Same issue - seems to be widespread
✅ WORKAROUND FOUND
The fix: Install VS Code extension version 2.1.17 while keeping CLI at 2.1.19
Steps:
Result:
claude --versionshows: 2.1.19What this tells us:
The bug is in the VS Code extension code (2.1.18 or 2.1.19), NOT in the CLI or API. The extension's tool call orchestration is broken in newer versions.
| Configuration | Status |
|---------------|--------|
| Extension 2.1.19 + CLI 2.1.19 | ❌ Broken |
| Extension 2.1.17 + CLI 2.1.19 | ✅ Works |
Hope this helps others!
Can confirm this bug is real, happens when using 2.1.19 and starting new sessions in terminal with prompts fed in.
아진짜 나도 이거때문에 일을 못한다고 일을 씨발 진짜 딱 내가 맥스구독하고 나니까 바로 이러네 아 정신병걸리겠다
Confirmed this bug is real. Also confirmed that dropping back to version 2.1.17 works.
🔴 Also experiencing this - Critical impact on productivity
Environment
Reproduction Scenario
The error occurs frequently during:
statusline-setup,Explore)Error Frequency
Impact Assessment
Looking at GitHub, there are 10+ duplicate issues filed in the last 48 hours alone:
This suggests a widespread regression affecting users across all platforms (Windows, macOS, Linux).
Suspected Root Cause
The error message "tool use concurrency issues" suggests the API is rejecting requests where:
Suggested Priority
Given the volume of reports and the fact that this blocks core functionality (tool usage is fundamental to Claude Code), this should be treated as a P0/Critical issue.
Request
Could the team please:
Thank you for your attention to this matter. 🙏
+1
Same outchea
If your session is stuck in this state and /rewind doesn't recover it, the root cause is likely a dropped
tool_result— atool_useblock in the conversation history has no matching result, making the conversation structurally invalid.Workaround: contextspectre v0.46.0+ can fix this by injecting synthetic
tool_resultentries:Install:
brew install ppiankov/tap/contextspectreSee #39316 for the specific recovery-failure analysis.
I wish some attention was given to this issue. The only workaround is go back to an old version of VSCode but this has its own problems. Is the Claude team even aware of this?
I am having this issue as well, noticed it after downloading the new claude update.
<img width="967" height="323" alt="Image" src="https://github.com/user-attachments/assets/78c02e15-1565-42c8-b051-301e5c532b43" />
+1 getting the same error after a few turns of successful tool calls and outputs