You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/07/27 09:42:08 UTC

[GitHub] [superset] jpuris opened a new pull request #15904: Update alerts_reports.mdx

jpuris opened a new pull request #15904:
URL: https://github.com/apache/superset/pull/15904


   ### SUMMARY
   
   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'}
   ```
   
   ### TESTING INSTRUCTIONS
   
   _**To reproduce the problem**_
   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'}`
   
   _**Testing the fix**_
   1. Add slack integration as per current instructions, if already done, then skip to next step
   2. Add additional scope `chat:write`
   3. If step 2 was done after initial installation of slack app, then reinstall the slack app on workspace
   5. Invite the app to the target slack channel
   6. Schedule an alert to be posted on specific channel
   7. Message is posted as expected
   
   ### ADDITIONAL INFORMATION
   - [x] Has associated issue: https://github.com/apache/superset/issues/15903


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] srinify commented on pull request #15904: Update alerts_reports.mdx

Posted by GitBox <gi...@apache.org>.
srinify commented on pull request #15904:
URL: https://github.com/apache/superset/pull/15904#issuecomment-887476595


   Thanks @jpuris for adding this !


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] srinify merged pull request #15904: docs: Slack integration requires "chat:write" permissions scope

Posted by GitBox <gi...@apache.org>.
srinify merged pull request #15904:
URL: https://github.com/apache/superset/pull/15904


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org