Skip to content

Artifact sharing fails: "This version can't be shared publicly" persists across republish and new artifacts #79824

Description

@kristianward416

Description

Attempting to make a published Artifact (Markdown page with a Mermaid diagram) shareable via the "anyone with the link" toggle in the share menu fails with:

This version can't be shared publicly. Publish a new version or change the shared version, then try again.

Steps to reproduce

  1. Publish a Markdown artifact via Claude Code's Artifact tool (.md file with a ```mermaid fenced diagram, standard frontmatter-free content, headings, tables).
  2. Open the published artifact page.
  3. Use the share menu → toggle to "anyone with the link".
  4. Error appears immediately.

What I tried to work around it

  • Republished the exact same artifact (same file path) to mint a new version — same error.
  • Created a completely new artifact from a copy of the file at a different path (new artifact object, new URL) — same error persisted.

Since the error survived both a version republish AND a brand-new artifact object, it doesn't look like a per-artifact/per-version issue — seems account- or session-level.

Expected behavior

The share toggle should either succeed, or give an error that's actually actionable (the current message tells the user to do something — "publish a new version" — that was already tried and didn't help).

Environment

  • Claude Code CLI
  • Artifact content type: Markdown with Mermaid diagram

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions