Skip to content

[Bug]: Share link on deleted snippets #8

Description

@zachspar

Description

Receiving a 500 internal error when I navigate to a share link for a deleted snippet. I think this should be 404

Steps to reproduce

  1. Create a new snippet
  2. Create a share link (any amount of time)
  3. Open the shared snippet in a new tab
  4. Delete the snippet
  5. Refresh the shared snippet tab

Expected vs. actual behavior

Expected would probably be a 404. Actual is a 500

Browser and version

Firefox 152.0.3 (64-bit)

Operating system

macOS 26.5.2 (25F84)

Snippet source

Cloud

Were you signed in?

Yes

Screenshot or recording

Link to an example snippet I've shared.

Image

Browser console errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds maintainer review

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions