[BUG] Got error 400 on Claude Code Desktop

Resolved 💬 3 comments Opened Feb 21, 2026 by liauwnadsteven Closed Feb 25, 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?

Hi i got this error on claude code after prompting
I think got this error often when I do use Plan Mode on the Claude Code

API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.xxx: tool_use ids must be unique"},"request_id":"xxxxx"}

ping me if you need more details thanks!

What Should Happen?

I can't continue the session since the session always return error 400

Error Messages/Logs

Steps to Reproduce

  1. Create Plan Mode in your project
  2. Accept the plan mode
  3. Sometimes it happened the session couldn't be continue

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude 1.1.2512 (4d2708)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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