We’re trying to finish our setup of a Sentry 21.2.0 release (fresh install) and are having issues with the slack integration. I followed the steps laid out in the documentation, but when I go through the Add Workspace flow I’m finally greeted with this message:
It appears as though that the request being made by Sentry is incorrect or outdated.
Slacks docs specify that the token in the request should be sent as an auth header (when using GET) or as a token field in a POST request, see: team.info method | Slack
We tested this by sending the request manually and we got the expected response.
Edit: also, the app does install for us as well. It is just the final steps of the senty side setup that fail. I can use the bot token from the installed app just fine.
In your app settings its under OAuth & Permissions.
I know it’s not in the docs but just want to double check here since it does look like if that’s set up you could be getting an invalid_auth error if the IPs didn’t match.
I circled back and looked at this again and I think you might be right. I’m going to try and test using a header instead locally and submit a patch if that works.