[BUG] GitHub-Connected Web Sessions Fail to Appear in Claude Code VS Code Extension
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?
On Windows 11, in the Claude Code VS Code extension, expected sessions do not appear in the Web tab of the Past Conversations dropdown.
<img width="497" height="194" alt="Image" src="https://github.com/user-attachments/assets/9ffd4557-d2a3-46c4-92d7-7c020dad2f66" />
This is despite the existence of web sessions connected to a GitHub repo, in the same Claude account to which the extension is connected.
Furthermore, pressing the Past Conversations dropdown in the first place results in these Claude Code logs:
2026-02-21 14:53:04.841 [info] Received message from webview: {"type":"request","requestId":"0xrkwr276om","request":{"type":"list_sessions_request"}}
2026-02-21 14:53:04.856 [info] Received message from webview: {"type":"request","requestId":"w1gf43nuff","request":{"type":"list_remote_sessions"}}
2026-02-21 14:53:04.857 [info] OAuth tokens found in secure storage
2026-02-21 14:53:05.020 [error] Error fetching remote sessions: AxiosError: Request failed with status code 404
I.e. There's a clear error from attempting to fetch remote sessions, despite OAth tokens found in secure storage.
What Should Happen?
Given
- I took note of the caveat that "only web sessions started with a GitHub repository appear in the Remote tab" in the official documentation for using Claude Code in VS Code.
- I started a conversation in Claude Code _web_ after connecting the session to a GitHub repo.
- The session still exists on the web.
- I logged into Claude Code in the VS Code extension (via Claude.ai Subscription, if relevant).
- I logged out of Claude Code in VS Code.
- I closed VS Code.
- I reopened VS Code.
- I logged back into Claude Code in VS Code.
Then
- The session described in (2) should be available under Web in Past Conversations in VS Code.
- This Claude Code error should cease in VS Code:
[error] Error fetching remote sessions: AxiosError: Request failed with status code 404
Error Messages/Logs
Error fetching remote sessions: AxiosError: Request failed with status code 404
Steps to Reproduce
- Start a conversation in Claude Code _web_ after connecting the session to a GitHub repo.
- Log into Claude Code in the VS Code extension (via Claude.ai Subscription, if relevant).
- Log out of Claude Code in VS Code.
- Close VS Code.
- Reopened VS Code.
- Log back into Claude Code in VS Code.
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.39 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗