[Bug] API Error 400 - Tool Use Concurrency Issues - Widespread Regression Affecting All Platforms
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
---
🚨 Summary
This is a meta-issue to consolidate reports of the widespread API Error: 400 due to tool use concurrency issues affecting users across all platforms.
In the last 48 hours, 10+ duplicate issues have been filed:
- #20555 - Bug: API Error 400 - tool use concurrency issues
- #21281 - [BUG] API Error: 400 due to tool use concurrency issues
- #21100 - API Error: 400 due to tool use concurrency issues
- #21087 - [BUG] API Error: 400 due to tool use concurrency issues
- #21082 - [Bug] Anthropic API Error: 400 Tool Use Concurrency Issues
- #21001 - [Bug] Anthropic API Error: Tool use concurrency conflict in tasks
- #20888 - [Bug] Anthropic API Error: Tool use concurrency validation (400)
- #20839 - [BUG] Error: "API Error: 400 due to tool use concurrency issues"
- #20678 - [Bug] Anthropic API Error: 400 - Tool Use Concurrency Conflict
- #20598 - [BUG] API Error: 400 due to tool use concurrency issues
This suggests a critical regression that needs immediate attention.
---
What's Wrong?
Error Message
API Error: 400 due to tool use concurrency issues
When It Occurs
- After AskUserQuestion - User answers a question, next tool call fails
- Task/Subagent spawning - Using Task tool with any subagent_type
- Parallel tool calls - When Claude attempts multiple simultaneous tool calls
- Custom slash commands - Especially those with multi-step workflows
- VS Code Extension - Particularly affected, but CLI also impacted
Affected Platforms
| Platform | Reports |
|----------|---------|
| macOS | ✅ Multiple |
| Windows | ✅ Multiple |
| Linux | ✅ Confirmed |
Affected Interfaces
- [x] VS Code Extension
- [x] CLI (Terminal)
- [x] JetBrains Extension (unconfirmed but likely)
---
Environment (My Setup)
- OS: macOS (Darwin 25.3.0)
- Claude Code: Latest version (VS Code Extension)
- Model: Claude Opus 4.5 (
claude-opus-4-5-20251101) - Date: 2026-01-27
---
Steps to Reproduce
Scenario 1: Task Tool
- Start Claude Code
- Ask Claude to use the Task tool (e.g., "explore the codebase")
- Wait for subagent to spawn
- Error occurs during or after subagent execution
Scenario 2: AskUserQuestion Flow
- Trigger a workflow that uses AskUserQuestion
- Answer the question presented
- Error occurs on the next tool call after user response
Scenario 3: Parallel Operations
- Request an operation that requires multiple file reads/searches
- Claude attempts parallel tool calls
- Error occurs with concurrency message
---
Impact Assessment
Severity: 🔴 Critical
- Frequency: Multiple times per session
- Workaround: None found (retrying doesn't help)
- User Impact: Core functionality broken - tool usage is fundamental to Claude Code
- Productivity Loss: Significant - users cannot complete complex workflows
---
Suspected Root Cause
The error suggests the API is rejecting requests due to:
- Race condition in tool call/response handling
- Previous tool call state not properly cleared before new call
- Concurrent message processing conflict
- Possible backend change affecting tool use validation
---
What Should Happen?
Tool calls should execute successfully without concurrency conflicts, regardless of:
- Previous tool call completion timing
- Number of parallel tool calls
- User interaction patterns (answering questions, etc.)
---
Request to Anthropic Team
- Acknowledge this is a known, actively-investigated issue
- Provide status updates on investigation progress
- Share workarounds if any are discovered
- Consider hotfix given the widespread impact
- Consolidate duplicates under this or #20555 for better tracking
---
Related Issues
- #20555 - Bug: API Error 400 - tool use concurrency issues (Original Report)
- #21281 - [BUG] API Error: 400 due to tool use concurrency issues
- #21100 - API Error: 400 due to tool use concurrency issues
- #21087 - [BUG] API Error: 400 due to tool use concurrency issues
- #21082 - [Bug] Anthropic API Error: 400 Tool Use Concurrency Issues
- #21001 - [Bug] Anthropic API Error: Tool use concurrency conflict in tasks
- #20888 - [Bug] Anthropic API Error: Tool use concurrency validation (400)
- #20839 - [BUG] Error: "API Error: 400 due to tool use concurrency issues"
- #20678 - [Bug] Anthropic API Error: 400 - Tool Use Concurrency Conflict
- #20598 - [BUG] API Error: 400 due to tool use concurrency issues
---
Claude Model
Opus 4.5
Is this a regression?
Yes - started occurring recently (last few days)
Claude Code Version
Latest (2.x)
Platform
Anthropic API
Operating System
macOS (also affects Windows, Linux)
Terminal/Shell
VS Code integrated terminal
Additional Information
This issue is severely impacting the Claude Code user experience. The volume of duplicate reports in such a short time indicates this is not an isolated incident but a widespread problem requiring urgent attention.
Thank you for your prompt attention to this critical issue. 🙏
This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗