I am following this tutorial and am getting the following error. I am also printing my BOT Token fetched from the environment variable and it is matching what I see in my Slack console for Bot User OAuth Access Token
slack.errors.SlackApiError: The request to the Slack API failed.
The server responded with: {'ok': False, 'error': 'not_allowed_token_type'}
x in one of the [ ])x in each of the [ ])Filling out the following details about bugs will help us solve your issue sooner.
slackclient version:
2.5.0
python version:
3.7.6
OS version(s):
Bot to receive events and run
Getting the not_allowed_token_type error
ohh, if you by accident update your app, you will get the exactly same error
is this resolved ? when can i look for the solution for this problem?
Hey @sujansonly,
RTM isn't supported for the new granular scopes. We recommend using events API instead with the new scope. Checkout our tutorial for an example of it in action.
If you still need to use RTM, you can instead create a classic slack app
Hello awesome folks from slack!! With RTM deprecated what is the alternative for the below usecase?
i'm wondering why slack had to deprecate a way which would completely block a way of working with a bot and want everyone to deal with exposing their apis casing security concerns, firewall.
Most helpful comment
Hello awesome folks from slack!! With RTM deprecated what is the alternative for the below usecase?
i'm wondering why slack had to deprecate a way which would completely block a way of working with a bot and want everyone to deal with exposing their apis casing security concerns, firewall.