Skip to content
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

web_hook_info always empty : No access to Slack Webhook URL #22

Open
ArnoHolo opened this issue Dec 10, 2015 · 1 comment
Open

web_hook_info always empty : No access to Slack Webhook URL #22

ArnoHolo opened this issue Dec 10, 2015 · 1 comment

Comments

@ArnoHolo
Copy link

Hi,

I was always getting an empty web_hook_info whereas I was trying with a lot of different scopes. It wasn't making any sense.

It wasn't empty any more once I've remove the following line :
return {} unless incoming_webhook_allowed?

I suppose the incoming_webhook_allowed? method is wrong?

@jwright
Copy link

jwright commented Dec 23, 2015

@ArnoHolo Make sure that your scopes are comma-delimited and do not have any spaces in between them.

For example, this will not work:

scope: "channels:read, incoming-webhook"

This should work:

scope: "channels:read,incoming-webhook"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants