[BUG] Claude Code Web: teleport command randomly breaks due to 400 error
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?
Sometimes using the teleport command when moving to the cli works like a charm. other times i get
API Error: 400 due to tool use concurrency issues. Run /rewind to recover the conversation.
after I prompt once the conversation was restored. using /rewind is useless because the old parts of the conversation have a triangle warning symbol with no way to go back to part of the conversation. so nothing can proceed once this error happens
What Should Happen?
We should be able to continue on with the conversation in the cli
Error Messages/Logs
`API Error: 400 due to tool use concurrency issues. Run /rewind to recover the conversation.`
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error",
"message":"messages.112.content.0: unexpected `tool_use_id` found in
`tool_result` blocks: toolu_01MevmR6QfhRiUAu8uJkQrMR. Each
`tool_result` block must have a corresponding `tool_use` block in the
previous message."},"request_id":"req_011CUUh2aVNc8pni63D7hbmn"}
Steps to Reproduce
This randomly happens when using the teleport command when copying from the Move to CLI button
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.27
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
This seems to happen inconsistently but when it does happen there is no way to proceed with the conversation on the cli
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗