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

Slack integration documentation is missing a permission scope #15903

Closed
1 of 3 tasks
jpuris opened this issue Jul 27, 2021 · 0 comments
Closed
1 of 3 tasks

Slack integration documentation is missing a permission scope #15903

jpuris opened this issue Jul 27, 2021 · 0 comments
Labels
#bug Bug report

Comments

@jpuris
Copy link
Contributor

jpuris commented Jul 27, 2021

Slack requires chat:write as part of "OAuth & Permissions" for the slack integration to be able to post messages.
If the mentioned scope is not defined, one will receive following error from Slack API

Error: The request to the Slack API failed. The server responded with: {'ok': False, 'error': 'missing_scope', 'needed': 'chat:write:bot', 'provided': 'incoming-webhook,files:write'}

Expected results

Slack integration is working as expected

Actual results

Error is presented about missing scope

How to reproduce the bug

  1. Add slack integration as per current instructions
  2. Invite the app to the target slack channel
  3. Schedule an alert to be posted on specific channel
  4. Error. The request to the Slack API failed. The server responded with: {'ok': False, 'error': 'missing_scope', 'needed': 'chat:write:bot', 'provided': 'incoming-webhook,files:write'}

Environment

Preset.io
Version: 0.999.0dev

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

I've reproduced this issue in preset.io only.

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

No branches or pull requests

1 participant