[BUG] API Error: 400 due to tool use concurrency issues. -- I lost all my tokens.
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?
API Error: 400 due to tool use concurrency issues. -- I lost all my tokens.
What Should Happen?
in case of errors, give the correct answer
Error Messages/Logs
Steps to Reproduce
Готово. Тепер прелоадер показується і при видаленні товару з кошика.
Обидві події тепер з прелоадером:
added_to_cart - додавання товару
removed_from_cart - видалення товару
клас не додається
Перевірю де викликається видалення. Можливо подія removed_from_cart не тригериться. Подивлюсь метод removeCartItem.
Read [c:\Users\vltro\Local Sites\didus-muhomor\app\public\wp-content\themes\dmuhomor\src\js\modules\header-cart.js](vscode-webview://10g5ccis344b5soc6l8n3f4vc8kk5707nvkh5k8lg4600j4q8idk/index.html?id=8fe9ab6c-f907-4363-878b-229965d6f400&parentId=1&origin=42581e19-d388-456d-bdec-e6f13c8b6e7c&swVersion=4&extensionId=Anthropic.claude-code&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&session=8766f2d2-c4a7-4f88-9ff5-f46222338422#) (lines 596-625)
API Error: 400 due to tool use concurrency issues.
продовжуй
Read [c:\Users\vltro\Local Sites\didus-muhomor\app\public\wp-content\themes\dmuhomor\src\js\modules\header-cart.js](vscode-webview://10g5ccis344b5soc6l8n3f4vc8kk5707nvkh5k8lg4600j4q8idk/index.html?id=8fe9ab6c-f907-4363-878b-229965d6f400&parentId=1&origin=42581e19-d388-456d-bdec-e6f13c8b6e7c&swVersion=4&extensionId=Anthropic.claude-code&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&session=8766f2d2-c4a7-4f88-9ff5-f46222338422#) (lines 625-639)
API Error: 400 due to tool use concurrency issues.
продовжуй
Claude Model
None
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
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗