User Feedback- Changing Slack Channels on alert rules is broken
Sentry Feedback: JAVASCRIPT-2S1V
Hi, we seem to have discovered a bug in the Sentry GUI that caused quite an upset today. When in the Alerts, the Slack channel is changed, the update is accepted, but from that moment on no message is sent anywhere. Only deleting the rule and creating a new one seems to work. We updated a few rules lately, and we missed many warnings. Further, we found ourselves suddenly way above our quota, and this is due, we think
Btw: your Help > Contact Support is also not working..
Routing to @getsentry/product-owners-alerts for triage ⏲️
Not sure if this is related, but I have noticed that when I edit an alert that has a routing rule to a Slack user, and then save (without changing any of the routing rules), I get the error "Unable to save alert: Channel not found. Invalid ID provided"
Routing to @getsentry/product-owners-settings-integrations for triage ⏲️
Routing to @getsentry/product-owners-alerts for triage ⏲️
Routing to @getsentry/product-owners-settings-integrations for triage ⏲️
Is this happening for issue alerts, metric alerts, or both? Has the alert fired since the Slack channel was changed? If it's a metric alert you'll see the fire history on the rule details page, for issue alerts it'll show "last triggered".
For me, it was when I configured an "users experiencing errors" alert, and in the edit screen both the "@username or channel" box and the "optional: channel ID or username" boxes were filled out already.
I just went to go repro this issue and this time the "optional: channel ID or username" box was not populated when the "edit alert" page loaded. In these cases, I am able to save without the error
Not sure if this is related, but I have noticed that when I edit an alert that has a routing rule to a Slack user, and then save (without changing any of the routing rules), I get the error "Unable to save alert: Channel not found. Invalid ID provided"
@arifken You need to add sentry to the Integrations page of the slack's channel in Add Apps, then you can send sentry notifications to the slack
The issues on this ticket seems like from 2 different resources which makes debugging difficult. @arifken if you're still experiencing an issue after double checking the setup steps, please create a new github with details so we can follow-up better.
I dug deeper into this today and updating the alert is not broken. To repro I:
- Created an alert and sent to to channel1
- Verified that new issues notify me in channel1
- Updated the alert to send to channel2
- Received the issues in channel2.
I did realize that while updating the alert there's a UI problem that channel ID doesn't change when I change channel name. That causes an error. We have an open ticket already for that issue so I close this one.