[BUG] "Failed to load session" errors in Claude Code Mac Desktop
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?
Body:
Sessions from earlier in the week show up in the session picker UI but fail to load with a "Failed to load session" error.
Environment:
macOS (Darwin 25.2.0)
Claude Code (latest as of 2025-01-25)
What I found:
The session appears in the session list with its title and timestamp
The corresponding directory on disk (~/.claude/projects/.../) exists but contains only a subagents/ folder — no session transcript
sessions-index.json has an empty entries array despite multiple sessions existing
Multiple sessions from different days are affected
Expected behavior: Clicking a session in the list should load the conversation.
Actual behavior: "Failed to load session" error. The session data was never persisted to disk.
What Should Happen?
Expected behavior: Clicking a session in the list should load the conversation.
Actual behavior: "Failed to load session" error. The session data was never persisted to disk.
Error Messages/Logs
"Failed to load session" message with only option being "Back to landing page" button
Steps to Reproduce
Click on sessions from last Wednesday
See error messages
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude Code version 2.0.76
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗