opencode import fails for valid /share link (HTTP 200) with “Failed to fetch share data: Not Found” #4317

Closed
opened 2026-02-16 17:43:24 -05:00 by yindo · 1 comment
Owner

Originally created by @dhruvkej9 on GitHub (Jan 6, 2026).

Originally assigned to: @rekram1-node on GitHub.

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

  1. Verify the share link is reachable:

    curl -o /dev/null -s -w "%{http_code}\n" https://opncd.ai/share/Jsj3hNIW
    

    Output:

    200
    
  2. Attempt to import the share:

    opencode import https://opncd.ai/share/Jsj3hNIW
    
  3. Re-run with logs enabled:

    opencode import https://opncd.ai/share/Jsj3hNIW --print-logs
    
  4. Observe the failure.

Screenshot and/or share link

Session Link: https://opncd.ai/share/Jsj3hNIW

Logs: https://gist.github.com/dhruvkej9/1c7311e666320ce31da86fe66873b6d7

Image

Operating System

WSL (Windows Subsystem for Linux) Ubuntu 24.04

Terminal

Windows Terminal

Originally created by @dhruvkej9 on GitHub (Jan 6, 2026). Originally assigned to: @rekram1-node on GitHub. ### 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 1. Verify the share link is reachable: ``` curl -o /dev/null -s -w "%{http_code}\n" https://opncd.ai/share/Jsj3hNIW ``` Output: ``` 200 ``` 2. Attempt to import the share: ``` opencode import https://opncd.ai/share/Jsj3hNIW ``` 3. Re-run with logs enabled: ``` opencode import https://opncd.ai/share/Jsj3hNIW --print-logs ``` 4. Observe the failure. ### Screenshot and/or share link Session Link: [https://opncd.ai/share/Jsj3hNIW](https://opncd.ai/share/Jsj3hNIW) Logs: https://gist.github.com/dhruvkej9/1c7311e666320ce31da86fe66873b6d7 <img width="1095" height="301" alt="Image" src="https://github.com/user-attachments/assets/103ed20e-2f8e-4137-8e69-4a323ccc4270" /> ### Operating System WSL (Windows Subsystem for Linux) Ubuntu 24.04 ### Terminal Windows Terminal
yindo added the windowshelp-wantedbug labels 2026-02-16 17:43:24 -05:00
yindo closed this issue 2026-02-16 17:43:24 -05:00
Author
Owner

@RanitMukherjee commented on GitHub (Jan 25, 2026):

@rekram1-node The issue still persists in version 1.1.35, tested on Alacritty (Bash, Arch Linux).

@RanitMukherjee commented on GitHub (Jan 25, 2026): @rekram1-node The issue still persists in version 1.1.35, tested on Alacritty (Bash, Arch Linux).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4317