エラーが発生した状況
- 公式のドキュメントに従ってSentryをSlackにintegrationしようとしていた
- Slackのworkspaceとの連携まではできた
- Alert Ruleを作成しようとRuleを定義し、Save Ruleをクリックしたところ以下のようなエラーが発生した
The slack resource "{チャンネル名}" does not exist or has not been granted access in the hey Slack workspace
- Alert Ruleで入力したチャンネル名は間違っていない
対処方法
- Slackの該当チャンネルで
/invite @sentry
を行なう
参考: https://github.com/getsentry/sentry/issues/7873
参考にさせていただいたサイト