[BUG] No conversation found with session ID

Resolved 💬 8 comments Opened Jun 16, 2025 by dhleong Closed Jul 18, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.19
  • Operating System: Ubuntu 22.04.5 LTS
  • Terminal: tmux (ssh'd in with iTerm 2)

Bug Description

On this machine, claude --resume <session ID> doesn't work; it just always says: No conversation found with session ID <session ID>. I've ensured that I'm running in a consistent directory, and running simply claude --resume does list the session (and resuming interactively works)

Steps to Reproduce

  1. Run eg echo <prompt> | claude -p --verbose --output-format=stream-json --allowedTools '...'
  2. Take note of the session ID in the response messages
  3. Run simply claude --resume <session ID> (or send another prompt with the same --resume param)

Expected Behavior

The prompt should be handled correctly, resuming the previous session

Actual Behavior

The error message described above is printed instead.

Additional Context

The same repro works fine locally on my Mac. I'm not sure how sessions are stored or looked up, but presumably there's something about the machine I'm ssh'd into that causes this issue? Happy to help track this down!

View original on GitHub ↗

This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗