claude-code - 💡(How to fix) Fix Claude Design share URLs return "not found" to unauthenticated clients (blocks Claude Code integration) [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52292Fetched 2026-04-24 06:11:00
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Share URLs in the format https://api.anthropic.com/v1/design/h/{project-hash}?open_file={filename} cannot be fetched programmatically by external tools (including Claude Code's WebFetch and standard HTTP clients). This breaks cross-tool handoff between Claude Code and Claude Design.

Root Cause

Share URLs in the format https://api.anthropic.com/v1/design/h/{project-hash}?open_file={filename} cannot be fetched programmatically by external tools (including Claude Code's WebFetch and standard HTTP clients). This breaks cross-tool handoff between Claude Code and Claude Design.

Fix Action

Workaround

User manually downloads the file from the Design UI and transfers to local disk. Works but breaks automation.

Code Example

curl -sL "https://api.anthropic.com/v1/design/h/{project-hash}?open_file={filename}.html"

---

content-security-policy: default-src 'none'; frame-ancestors 'none'
cache-control: no-store
RAW_BUFFERClick to expand / collapse

Summary

Share URLs in the format https://api.anthropic.com/v1/design/h/{project-hash}?open_file={filename} cannot be fetched programmatically by external tools (including Claude Code's WebFetch and standard HTTP clients). This breaks cross-tool handoff between Claude Code and Claude Design.

Reproduction

  1. Create a Claude Design project containing an HTML file
  2. Copy the share URL from the address bar or share action
  3. Attempt to fetch from an unauthenticated client:
curl -sL "https://api.anthropic.com/v1/design/h/{project-hash}?open_file={filename}.html"

Expected

Response returns the HTML file contents, or a redirect to a CDN-hosted static version.

Actual

  • GET returns `"not found"` (body, 10 bytes, HTTP 200)
  • HEAD returns `HTTP 405 Method Not Allowed`
  • Headers indicate the request reached the API but was rejected:
content-security-policy: default-src 'none'; frame-ancestors 'none'
cache-control: no-store

Environment

  • Client: curl 8.x on macOS
  • Also reproduced via Claude Code WebFetch tool (`maxContentLength size exceeded` on the browser-rendered page; fetch of the raw API endpoint returns "not found")
  • Browser access to the same URL works correctly (authenticated session)

Impact

External tools cannot access files in Claude Design projects. This prevents:

  • Claude Code reading a Design HTML for editing or review
  • Other MCP servers integrating with Design artefacts
  • Any automated workflow that combines Design output with downstream processing

Suggested fix

Either:

  • Add a view-only token parameter to share URLs that permits unauthenticated GET on file contents, OR
  • Expose a stable, CDN-hosted download URL per file (separate from the app preview URL), OR
  • Ship a Design MCP server with read tools for share links

Workaround

User manually downloads the file from the Design UI and transfers to local disk. Works but breaks automation.

extent analysis

TL;DR

The issue can be mitigated by implementing one of the suggested fixes, such as adding a view-only token parameter to share URLs or exposing a stable CDN-hosted download URL per file.

Guidance

  • Investigate adding a view-only token parameter to share URLs to permit unauthenticated GET requests on file contents.
  • Consider exposing a stable, CDN-hosted download URL per file, separate from the app preview URL, to enable external tools to access files without authentication.
  • Evaluate the feasibility of shipping a Design MCP server with read tools for share links as an alternative solution.
  • Verify that any implemented solution does not introduce security vulnerabilities, such as unauthorized access to sensitive data.

Example

No code snippet is provided as the issue does not require a specific code change, but rather a design or architectural solution.

Notes

The chosen solution should balance security concerns with the need for external tools to access files in Claude Design projects. It is essential to ensure that any implemented fix does not compromise the security of the system.

Recommendation

Apply a workaround, such as manually downloading the file from the Design UI and transferring it to local disk, until a more permanent solution can be implemented. This approach, although not ideal, allows for some level of automation to continue while a more robust solution is developed.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Claude Design share URLs return "not found" to unauthenticated clients (blocks Claude Code integration) [1 participants]