Open pbutron opened 4 years ago
The error with the Slack API key is caused by not giving the required scopes to the Looker bot. (src: app.permissions.scopes)
missing_scope - The token used is not granted the specific scope permissions required to complete this request.
Could not connect to the Slack API. Ensure your Slack API key is correct. (missing_scope)
The Looker bot needs the following scopes (src: oauth-scopes):
I have try to deploy the bot using the Oauth token given by Slack and it doesn't work ...
I am getting the following error:
_/Documents/lookerbot/node_modules/botkit/lib/Slack_web_api.js:22 if (cb) cb(json.error, json); ^ Error: Could not connect to the Slack API. Ensure your Slack API key is correct. (missingscope)
I have tried using my legacy token and it works ... but the bot uses my credentials and It anyone slack me, the bot will answer with this message:
I couldn't understand that command. You can use help to see the list of possible commands.
Any idea on how to sort it out? Thanks!