[BUG] Teleport of a remote session fetches 0 log entries despite the session having a full transcript on claude.ai/code

Status Open
Reported on v2.1.214
Maintainer reply None cached
Activity 0 comments · opened Jul 20, 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?

Teleporting a remote (web) session into the VS Code extension consistently downloads 0 messages, even though the same session shows a complete transcript on claude.ai/code. The teleport saves an empty local stub, the extension auto-resumes it, and fails with No conversation found with session ID: <uuid> — recurring on every window reload.

Bug Report: Teleport of a remote session fetches 0 log entries despite the session having a full transcript on claude.ai/code

Summary

Teleporting a remote (web) session into the VS Code extension consistently downloads 0 messages, even though the exact same session shows a complete transcript on claude.ai/code. Because the teleport produces an empty local session, the extension then auto-resumes it and fails with No conversation found with session ID: <local-uuid>, which repeats on every window reload.

Environment

  • Claude Code VS Code extension: anthropic.claude-code-2.1.214-win32-x64
  • OS: Windows 11 Pro for Workstations (10.0.26200)
  • Workspace cwd: d:\TLCP_Website
  • Auth: OAuth valid; token refresh succeeds; remote session list loads fine ("Fetched 7 remote sessions")
  • Remote session ID: session_01N8P98MUNxRZvUanHZ4yZ8f

Steps to reproduce

  1. Have a remote session on claude.ai/code that contains a real transcript (verified: content is visible in the browser; browser URL session ID matches session_01N8P98MUNxRZvUanHZ4yZ8f).
  2. In the VS Code extension, teleport that session.
  3. Observe the teleport result and the subsequent resume.

Expected

Teleport downloads the session's messages; the resumed local session contains the transcript.

Actual

Teleport completes successfully but with 0 log entries / 0 messages. The saved local session file is a 97-byte stub:

{"type":"teleported-from","remoteSessionId":"session_01N8P98MUNxRZvUanHZ4yZ8f","messageCount":0}

The extension then auto-resumes this empty local session and errors out. The error recurs on every window reload.

Evidence (extension log, reproduced across multiple attempts)

Teleport started for session session_01N8P98MUNxRZvUanHZ4yZ8f
Fetched 0 log entries for session session_01N8P98MUNxRZvUanHZ4yZ8f
Saved teleported session 37eba092-14cc-439b-a708-fe83ecb0077e with 0 messages
Teleport succeeded for session session_01N8P98MUNxRZvUanHZ4yZ8f in ~1.1s (0 messages)
launch_claude ... resume:"37eba092-14cc-439b-a708-fe83ecb0077e"
[ERROR] No conversation found with session ID: 37eba092-14cc-439b-a708-fe83ecb0077e
[error] Error spawning Claude: Claude Code returned an error result: No conversation found with session ID: 37eba092-...

Reproduced at least 5 times (09:25, 14:21, 14:24, 14:27, 14:37 local time on 2026-07-20), each producing a new empty local UUID.

Ruled out

  • Network: Test-NetConnection api.anthropic.com -Port 443 → TcpTestSucceeded: True. (There were transient ECONNREFUSED 160.79.104.10:443 on the bootstrap/MCP-registry calls during the first attempt, but they were intermittent and unrelated; later attempts had no connection errors and still returned 0 entries.)
  • Auth / account: OAuth valid, token refresh OK, remote session list loads (7 sessions).
  • Wrong session: the browser URL session ID is byte-for-byte session_01N8P98MUNxRZvUanHZ4yZ8f — same session that returns 0 entries.

Impact

  • The remote session's transcript cannot be brought into the VS Code extension at all.
  • The empty teleported session gets auto-resumed on startup, producing a recurring hard error until the user manually closes the tab / deletes the local stub.

Suspected area

Server-side transcript/log-entries endpoint used by teleport returns an empty result for this session, while the web UI reads the transcript from a different (populated) source. Possibly a sync/finalization state or a storage-format/version mismatch for this session.

Suggested fixes

  1. When teleport returns 0 messages, do NOT auto-save an empty stub and auto-resume it; surface a clear "no transcript available to teleport" message instead of the confusing No conversation found error.
  2. Investigate why the log-entries endpoint returns 0 for a session that has a visible transcript on claude.ai/code.

What Should Happen?

Teleport downloads the session's messages; the resumed local session contains the transcript.

Error Messages/Logs

Steps to Reproduce

  1. Have a remote session on claude.ai/code that contains a real transcript (verified: content is visible in the browser; browser URL session ID matches session_01N8P98MUNxRZvUanHZ4yZ8f).
  2. In the VS Code extension, teleport that session.
  3. Observe the teleport result and the subsequent resume.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.215

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗