Closed jillguyonnet closed 9 months ago
I am also having this issue after upgrading the scopes to slacks new "granulated" approach. There is no longer just a bot
scope.
Can someone carefully read https://api.slack.com/docs/token-types#bot and maybe open a ticket with Slack?
AFAIK this was being deprecated and one needs to install apps via oauth workflow and all that. I use https://github.com/slack-ruby/slack-ruby-bot-server for that built on top of this library. The changes probably mean the documentation for slack-ruby-bot is now incorrect regarding tokens, too. Would appreciate if someone could dig it all up and PR the necessary changes.
See https://github.com/slack-ruby/slack-ruby-bot/issues/252#issuecomment-607017869 which is a step-by-step repro of getting to the not_allowed_token_type
error. The deployment guide has been updated to describe how to create a "classic" bot in #251.
Hi there,
I've had a working bot/app for a while, passed a
SLACK_API_TOKEN
env var with the bot user token, and just ran into the following issue today after changing some settings (scopes) in the Slack app (in api.slack.com/apps). From the Ruby app logs when trying to start the app:I've tried reinstalling/recreating the Slack app, updating gems, no dice. Is it possible that
SLACK_API_TOKEN
is no longer sufficient as a token?