GregHilston / Simple-Slack-Bot

Simple Python library for creating Slack bots.
https://greghilston.github.io/Simple-Slack-Bot/
MIT License
24 stars 9 forks source link

"not_allowed_token_type" error #37

Closed paolovacirca closed 4 years ago

paolovacirca commented 4 years ago

I got it all to work perfectly. Then I made a new bot, created a new oAuth token, and now it doesn't work any more. I can't recall doing anything differently this time. Any idea of what might be wrong? I'm getting this:

slacksocket.errors.SlackAPIError: Error from slack api: {"ok":false,"error":"not_allowed_token_type"}

GregHilston commented 4 years ago

Hey @MrOaiki, can you share your application code here?

Also, you mentioned a

new oAuth token

For clarity, we want to use a

API Token, The library you are using will want an API token for your bot.

Which you can generate from https://[your-slack-team].slack.com/apps/manage/custom-integrations

GregHilston commented 4 years ago

Closing due to lack of additional information. @MrOaiki feel free to comment or open a new issue!