-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tokens created with Slack’s new granular permissions generate a not_allowed_token_type
error.
#145
Comments
I'm getting this error too |
me too, iam new for using this package. just follow the instruction, but get error while create new bot. is this the right token for the bot? xoxb-xxxx-xxxx-xxxx-xxxx |
Same here too! |
There is still a possibility to generate correct token - https://api.slack.com/apps?new_classic_app=1 and then in Bots you can add legacy bot user and generate correct token |
kilmajster. that link helped to solve this issue! not_allowed_token_type fixed |
At the end of 2020 Feb, Slack will finally end support deprecated token so soon this solution will be not relevant |
I get this error aswell, I tried using the demo code with all possible API keys on the website. Still without success. A solution to this would be cool! |
same here! =/ |
I've been caught out by this ... hoping for a solution soon. |
Issue is described on mishk0/slack-bot-api#145
Still hoping for a solution, but workaround is summarised here #147 (comment) |
This was helpful, thanks alot |
To anyone coming here: The tutorial on freecodecamp is based on obsolete Slack APIs and a module that's not supporting the recent versions. I just wasted time on this module and tutorial as well, it should have an "Unsupported" disclamer in top, IMO. However, I made something work with Slack's own bolt API. https://blog.logrocket.com/build-a-slackbot-in-node-js-with-slacks-bolt-api/ |
This one works good: |
Using tokens I’ve generated before Slack’s new permissions were rolled out still work fine.
The text was updated successfully, but these errors were encountered: