Skip to content

Custom project_id tag unsearchable and leads to error #77564

Closed

Description

@JLuse

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

A customer reported an issue where attempting to search for or apply a custom tag with the key "project_id" in the Sentry platform results in an error.

Zendesk ticket: https://sentry.zendesk.com/agent/tickets/132532

Steps to repro:

  1. Set tag project_id and send events

  2. View all tags in Sentry: https://jluse-free-org.sentry.io/issues/5858760152/tags/?project=4507924334313472&referrer=issue-stream&statsPeriod=1h&stream_index=1

  3. Click on project_id value:
    Image

  4. Error:
    Image

Expected Result

Tag to be searchable and directed to proper events

Actual Result

Cannot search events associated to tag and error when redirected.

Product Area

Issues

Link

No response

DSN

No response

Version

No response

Activity

  1. getsantry commented on Sep 16, 2024

    @getsantry
    Contributor

    Auto-routing to @getsentry/product-owners-issues for triage ⏲️

  2. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Sep 16, 2024
  3. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Sep 16, 2024
  4. scttcper commented on Sep 16, 2024

    @scttcper
    Member

    Thanks, in this case it should be tags[project_id]: since project_id is a reserved keyword. Added to our backlog to fix that link.

  5. removed theissue type on Aug 12, 2025
  6. cobyeastwood183 commented on Sep 19, 2025

    @cobyeastwood183
    Contributor

    Searching with tags[project_id] works and link was removed.

  7. cobyeastwood183 commented on Sep 19, 2025

    @cobyeastwood183
    Contributor

    Issue search should apply tags[project_id] but still uses just project_id when choosing "Search issues with this tag value"

    Image
  8. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Sep 19, 2025
  9. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Sep 19, 2025
  10. locked and limited conversation to collaborators on Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions