Microsoft Botframework integration with slack Unauthorized using REST API -


it appears in past week has changed in way microsoft bot framework connects slack, , result messages server sends botframework published in slack channel rejected 401 unauthorized error. created new bot account on friday , walked through setup process install bot on slack channel , botframework post data server when messages sent on slack channel bot added user, response server tries send fails unauthorized error.

when using same bot in microsoft teams responses go through successfully, appears slack-specific (although haven't tried of channels).

i able oauth token needed make request server bot framework using tutorial outlined here: https://blogs.msdn.microsoft.com/tsmatsuz/2016/08/19/build-skype-bot-with-microsoft-bot-framework-oauth-and-rest-api/ (with endpoints updated based on api changes in july).

this issue began sometime between september 6th , 8th, able send messages our server bot framework , have them relayed slack channel on 6th, when tried again on 8th first saw unauthorized error.

an example url use send response our server botframework is:

https://slack.botframework.com/v3/conversations/b71ahec90%3at1qunvbgf%3ac3uv1qg2g/activities/fa4901052dfc4453909e7567ba09c8fe


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -