sentry icon indicating copy to clipboard operation
sentry copied to clipboard

Trailing underscore in monitor slug

Open InterstellarStella opened this issue 1 year ago • 2 comments

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Create a new monitor through the Sentry Web UI ie. titled "curl_underscore_test_"
  2. This will not create a slug with with a trailing underscore, so go back and edit the monitor, adding a trailing underscore to the slug manually
  3. Try to send a check in to the monitor with the new slug

Expected Result

The check in is accepted normally.

Actual Result

We get the error "A check-in was sent for a monitor that does not exist. If you meant to create a new monitor via upsert, please provide a valid monitor configuration in the check-in payload." for every check in sent to this monitor. Image

The workaround for this is to edit the monitor and remove the underscore from the slug manually. Example monitor here.

If this is not an acceptable slug then we should not allow it to be saved.

Product Area

Crons

Link

No response

DSN

No response

Version

No response

InterstellarStella avatar Oct 18 '24 07:10 InterstellarStella