Description
I used an OpenCode share link that is publicly reachable and returns HTTP 200, but importing it via opencode import <share-url> fails with:
Failed to fetch share data: Not Found
This happens consistently and prevents importing shared OpenCode sessions/projects, even though the share link itself is valid.
Plugins
opencode-anthropic-auth@0.0.5, opencode-antigravity-auth@1.2.8-beta.2, opencode-copilot-auth@0.0.9, @tarquinen/opencode-dcp@1.1.3
OpenCode version
1.1.3
Steps to reproduce
-
Verify the share link is reachable:
curl -o /dev/null -s -w "%{http_code}\n" https://opncd.ai/share/Jsj3hNIW
Output:
-
Attempt to import the share:
opencode import https://opncd.ai/share/Jsj3hNIW
-
Re-run with logs enabled:
opencode import https://opncd.ai/share/Jsj3hNIW --print-logs
-
Observe the failure.
Screenshot and/or share link
Session Link: https://opncd.ai/share/Jsj3hNIW
Logs: https://gist.github.com/dhruvkej9/1c7311e666320ce31da86fe66873b6d7
Operating System
WSL (Windows Subsystem for Linux) Ubuntu 24.04
Terminal
Windows Terminal