[BUG] Persistent API Error After Teleporting Session
Resolved 💬 15 comments Opened Nov 5, 2025 by J268sing Closed Feb 28, 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?
After using claude --teleport session_011CUpE6ZSg5RQbETyMDpZha, every subsequent command results in a 400 API error about malformed tool_result blocks.
What Should Happen?
Teleporting should transfer the session cleanly without corrupting conversation state.
Actual Behavior:
Session state corruption that persists even after reinstalling Claude Code.
Error Messages/Logs
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.48.content.0: unexpected tool_use_id found in tool_result blocks: toolu_01XmC5ysqAiDPKb5kABUiSCi. Each tool_result block must have a corresponding tool_use block in the previous message."}}
Steps to Reproduce
- Start a Claude Code session
- Used
claude --teleport session_011CUpE6ZSg5RQbETyMDpZha - Attempted to run any command
- Received 400 error on every message
Troubleshooting Attempted:
- ✅ Exited and restarted Claude Code
- ✅ Killed all Claude processes
- ✅ Uninstalled and reinstalled Claude Code
- ✅ Tried in different directories
- ❌ Error persists
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.33 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 15 comments on GitHub. Read the full discussion on GitHub ↗