[BUG] API Error: 400 due to tool use concurrency issues. Run /rewind to recover the conversation.

Resolved 💬 3 comments Opened Dec 24, 2025 by 99-NinetyNine Closed Dec 28, 2025

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?

(My hypothesis)
When claude code is doing edit on .tsx or .jsx files, it detects vscode syntax issues(VScode Problems) and it stops working says "API Error: 400 due to tool use concurrency issues. Run /rewind to recover the conversation."

PLus, I believe this happens when the file claude is editing, the user is viewing too.(Note not edited yet).

What Should Happen?

It should handle vscode issue nicely.

Error Messages/Logs

API Error: 400 due to tool use concurrency issues. Run /rewind to recover the conversation.

Steps to Reproduce

Create a file names abcd.tsx
ask claude to write some code.

It fails. (but reproducability is not always maybe REASON of it is unclear.. but it happens. )

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

claude --version 2.0.27 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

<img width="887" height="263" alt="Image" src="https://github.com/user-attachments/assets/44d69103-4b04-4397-af31-50d342f92601" />

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗