Connecting an Azure Bot to Slack - error 'No message text provided'












0















I am working on a Q&A bot in Azure and connecting it to Slack. I choose the no-code path with just configuration in Azure and Slack.



I was successful in the following:




  • Creating the Q&A service in Azure

  • Importing my FAQ

  • Creating a BOT in azure and testing it in the 'Test in Web chat 'pane

  • Creating an app in Slack and sending it text. However I never get a reply from my FAQ text.


So the error are:




  • In Slack, the response is always 'No good match in FAQ.' Im assuming this is the default text for the Bot.


  • In Azure, the Channels tab showed the Health of the Slack channel as red with issues. The text reads 'No message text provided' for every call made. This implies Slack is not sending the text to the bot.



Has anyone else seen this error 'No message text provided' when connecting to Slack?



Next things to try are:




  • Try and download the code and bot emulator and debug the error following these steps
    https://docs.microsoft.com/en-us/azure/bot-service/bot-service-troubleshoot-general-problems?view=azure-bot-service-4.0


Any help / thoughts would be appreciated.



Vince










share|improve this question

























  • Hi Vince! Two questions: 1) does your bot respond with the proper QnA answer when using 'Test in Web Chat'? and 2) is is possible your slack connection is misconfigured? The old 'Connect your bot to slack' tutorial is a bit...incorrect, but there's an update how to here: stackoverflow.com/questions/51749445/…

    – JJ_Wailes
    Nov 16 '18 at 17:18











  • Yes it works correcly in the 'Test in Web Chat'. Thanks for the link. Ill let you know.

    – VinceSuperC
    Nov 16 '18 at 20:19













  • I followed the article and it still does not work. A few differences I note from the article I followed docs.microsoft.com/en-us/azure/bot-service/… - I did not name the bot use testapp (I dont think this should matter) - Re event subscription I subscribed to bot events not worksapce events, since this sent interaction to all Slack channels in the workspace. I think that is all. I will have to debug now - I am expecting the messages will still not arrive from Slack so I dont think its going to help me fix this.

    – VinceSuperC
    Nov 16 '18 at 23:02











  • Note that I am running this from within a internal company network so I wonder if it is firewall related. What is another easy channel to setup? I tried: 1) Skype - dont want to use - needs approval and the bot goes to a public bot directory 2) Cortnana - my Office 365 Business account does not have Cortana enabled so this did not work, and I was not able to sign into Cortana with my Office 365 Home account. Thanks

    – VinceSuperC
    Nov 16 '18 at 23:04






  • 1





    Good news. After a republish on QnA maker and following them steps it now works. Thanks for your help.

    – VinceSuperC
    Nov 19 '18 at 20:07
















0















I am working on a Q&A bot in Azure and connecting it to Slack. I choose the no-code path with just configuration in Azure and Slack.



I was successful in the following:




  • Creating the Q&A service in Azure

  • Importing my FAQ

  • Creating a BOT in azure and testing it in the 'Test in Web chat 'pane

  • Creating an app in Slack and sending it text. However I never get a reply from my FAQ text.


So the error are:




  • In Slack, the response is always 'No good match in FAQ.' Im assuming this is the default text for the Bot.


  • In Azure, the Channels tab showed the Health of the Slack channel as red with issues. The text reads 'No message text provided' for every call made. This implies Slack is not sending the text to the bot.



Has anyone else seen this error 'No message text provided' when connecting to Slack?



Next things to try are:




  • Try and download the code and bot emulator and debug the error following these steps
    https://docs.microsoft.com/en-us/azure/bot-service/bot-service-troubleshoot-general-problems?view=azure-bot-service-4.0


Any help / thoughts would be appreciated.



Vince










share|improve this question

























  • Hi Vince! Two questions: 1) does your bot respond with the proper QnA answer when using 'Test in Web Chat'? and 2) is is possible your slack connection is misconfigured? The old 'Connect your bot to slack' tutorial is a bit...incorrect, but there's an update how to here: stackoverflow.com/questions/51749445/…

    – JJ_Wailes
    Nov 16 '18 at 17:18











  • Yes it works correcly in the 'Test in Web Chat'. Thanks for the link. Ill let you know.

    – VinceSuperC
    Nov 16 '18 at 20:19













  • I followed the article and it still does not work. A few differences I note from the article I followed docs.microsoft.com/en-us/azure/bot-service/… - I did not name the bot use testapp (I dont think this should matter) - Re event subscription I subscribed to bot events not worksapce events, since this sent interaction to all Slack channels in the workspace. I think that is all. I will have to debug now - I am expecting the messages will still not arrive from Slack so I dont think its going to help me fix this.

    – VinceSuperC
    Nov 16 '18 at 23:02











  • Note that I am running this from within a internal company network so I wonder if it is firewall related. What is another easy channel to setup? I tried: 1) Skype - dont want to use - needs approval and the bot goes to a public bot directory 2) Cortnana - my Office 365 Business account does not have Cortana enabled so this did not work, and I was not able to sign into Cortana with my Office 365 Home account. Thanks

    – VinceSuperC
    Nov 16 '18 at 23:04






  • 1





    Good news. After a republish on QnA maker and following them steps it now works. Thanks for your help.

    – VinceSuperC
    Nov 19 '18 at 20:07














0












0








0








I am working on a Q&A bot in Azure and connecting it to Slack. I choose the no-code path with just configuration in Azure and Slack.



I was successful in the following:




  • Creating the Q&A service in Azure

  • Importing my FAQ

  • Creating a BOT in azure and testing it in the 'Test in Web chat 'pane

  • Creating an app in Slack and sending it text. However I never get a reply from my FAQ text.


So the error are:




  • In Slack, the response is always 'No good match in FAQ.' Im assuming this is the default text for the Bot.


  • In Azure, the Channels tab showed the Health of the Slack channel as red with issues. The text reads 'No message text provided' for every call made. This implies Slack is not sending the text to the bot.



Has anyone else seen this error 'No message text provided' when connecting to Slack?



Next things to try are:




  • Try and download the code and bot emulator and debug the error following these steps
    https://docs.microsoft.com/en-us/azure/bot-service/bot-service-troubleshoot-general-problems?view=azure-bot-service-4.0


Any help / thoughts would be appreciated.



Vince










share|improve this question
















I am working on a Q&A bot in Azure and connecting it to Slack. I choose the no-code path with just configuration in Azure and Slack.



I was successful in the following:




  • Creating the Q&A service in Azure

  • Importing my FAQ

  • Creating a BOT in azure and testing it in the 'Test in Web chat 'pane

  • Creating an app in Slack and sending it text. However I never get a reply from my FAQ text.


So the error are:




  • In Slack, the response is always 'No good match in FAQ.' Im assuming this is the default text for the Bot.


  • In Azure, the Channels tab showed the Health of the Slack channel as red with issues. The text reads 'No message text provided' for every call made. This implies Slack is not sending the text to the bot.



Has anyone else seen this error 'No message text provided' when connecting to Slack?



Next things to try are:




  • Try and download the code and bot emulator and debug the error following these steps
    https://docs.microsoft.com/en-us/azure/bot-service/bot-service-troubleshoot-general-problems?view=azure-bot-service-4.0


Any help / thoughts would be appreciated.



Vince







botframework slack slack-api azure-bot-service






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 16 '18 at 20:08







VinceSuperC

















asked Nov 16 '18 at 3:16









VinceSuperCVinceSuperC

12




12













  • Hi Vince! Two questions: 1) does your bot respond with the proper QnA answer when using 'Test in Web Chat'? and 2) is is possible your slack connection is misconfigured? The old 'Connect your bot to slack' tutorial is a bit...incorrect, but there's an update how to here: stackoverflow.com/questions/51749445/…

    – JJ_Wailes
    Nov 16 '18 at 17:18











  • Yes it works correcly in the 'Test in Web Chat'. Thanks for the link. Ill let you know.

    – VinceSuperC
    Nov 16 '18 at 20:19













  • I followed the article and it still does not work. A few differences I note from the article I followed docs.microsoft.com/en-us/azure/bot-service/… - I did not name the bot use testapp (I dont think this should matter) - Re event subscription I subscribed to bot events not worksapce events, since this sent interaction to all Slack channels in the workspace. I think that is all. I will have to debug now - I am expecting the messages will still not arrive from Slack so I dont think its going to help me fix this.

    – VinceSuperC
    Nov 16 '18 at 23:02











  • Note that I am running this from within a internal company network so I wonder if it is firewall related. What is another easy channel to setup? I tried: 1) Skype - dont want to use - needs approval and the bot goes to a public bot directory 2) Cortnana - my Office 365 Business account does not have Cortana enabled so this did not work, and I was not able to sign into Cortana with my Office 365 Home account. Thanks

    – VinceSuperC
    Nov 16 '18 at 23:04






  • 1





    Good news. After a republish on QnA maker and following them steps it now works. Thanks for your help.

    – VinceSuperC
    Nov 19 '18 at 20:07



















  • Hi Vince! Two questions: 1) does your bot respond with the proper QnA answer when using 'Test in Web Chat'? and 2) is is possible your slack connection is misconfigured? The old 'Connect your bot to slack' tutorial is a bit...incorrect, but there's an update how to here: stackoverflow.com/questions/51749445/…

    – JJ_Wailes
    Nov 16 '18 at 17:18











  • Yes it works correcly in the 'Test in Web Chat'. Thanks for the link. Ill let you know.

    – VinceSuperC
    Nov 16 '18 at 20:19













  • I followed the article and it still does not work. A few differences I note from the article I followed docs.microsoft.com/en-us/azure/bot-service/… - I did not name the bot use testapp (I dont think this should matter) - Re event subscription I subscribed to bot events not worksapce events, since this sent interaction to all Slack channels in the workspace. I think that is all. I will have to debug now - I am expecting the messages will still not arrive from Slack so I dont think its going to help me fix this.

    – VinceSuperC
    Nov 16 '18 at 23:02











  • Note that I am running this from within a internal company network so I wonder if it is firewall related. What is another easy channel to setup? I tried: 1) Skype - dont want to use - needs approval and the bot goes to a public bot directory 2) Cortnana - my Office 365 Business account does not have Cortana enabled so this did not work, and I was not able to sign into Cortana with my Office 365 Home account. Thanks

    – VinceSuperC
    Nov 16 '18 at 23:04






  • 1





    Good news. After a republish on QnA maker and following them steps it now works. Thanks for your help.

    – VinceSuperC
    Nov 19 '18 at 20:07

















Hi Vince! Two questions: 1) does your bot respond with the proper QnA answer when using 'Test in Web Chat'? and 2) is is possible your slack connection is misconfigured? The old 'Connect your bot to slack' tutorial is a bit...incorrect, but there's an update how to here: stackoverflow.com/questions/51749445/…

– JJ_Wailes
Nov 16 '18 at 17:18





Hi Vince! Two questions: 1) does your bot respond with the proper QnA answer when using 'Test in Web Chat'? and 2) is is possible your slack connection is misconfigured? The old 'Connect your bot to slack' tutorial is a bit...incorrect, but there's an update how to here: stackoverflow.com/questions/51749445/…

– JJ_Wailes
Nov 16 '18 at 17:18













Yes it works correcly in the 'Test in Web Chat'. Thanks for the link. Ill let you know.

– VinceSuperC
Nov 16 '18 at 20:19







Yes it works correcly in the 'Test in Web Chat'. Thanks for the link. Ill let you know.

– VinceSuperC
Nov 16 '18 at 20:19















I followed the article and it still does not work. A few differences I note from the article I followed docs.microsoft.com/en-us/azure/bot-service/… - I did not name the bot use testapp (I dont think this should matter) - Re event subscription I subscribed to bot events not worksapce events, since this sent interaction to all Slack channels in the workspace. I think that is all. I will have to debug now - I am expecting the messages will still not arrive from Slack so I dont think its going to help me fix this.

– VinceSuperC
Nov 16 '18 at 23:02





I followed the article and it still does not work. A few differences I note from the article I followed docs.microsoft.com/en-us/azure/bot-service/… - I did not name the bot use testapp (I dont think this should matter) - Re event subscription I subscribed to bot events not worksapce events, since this sent interaction to all Slack channels in the workspace. I think that is all. I will have to debug now - I am expecting the messages will still not arrive from Slack so I dont think its going to help me fix this.

– VinceSuperC
Nov 16 '18 at 23:02













Note that I am running this from within a internal company network so I wonder if it is firewall related. What is another easy channel to setup? I tried: 1) Skype - dont want to use - needs approval and the bot goes to a public bot directory 2) Cortnana - my Office 365 Business account does not have Cortana enabled so this did not work, and I was not able to sign into Cortana with my Office 365 Home account. Thanks

– VinceSuperC
Nov 16 '18 at 23:04





Note that I am running this from within a internal company network so I wonder if it is firewall related. What is another easy channel to setup? I tried: 1) Skype - dont want to use - needs approval and the bot goes to a public bot directory 2) Cortnana - my Office 365 Business account does not have Cortana enabled so this did not work, and I was not able to sign into Cortana with my Office 365 Home account. Thanks

– VinceSuperC
Nov 16 '18 at 23:04




1




1





Good news. After a republish on QnA maker and following them steps it now works. Thanks for your help.

– VinceSuperC
Nov 19 '18 at 20:07





Good news. After a republish on QnA maker and following them steps it now works. Thanks for your help.

– VinceSuperC
Nov 19 '18 at 20:07












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53330918%2fconnecting-an-azure-bot-to-slack-error-no-message-text-provided%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53330918%2fconnecting-an-azure-bot-to-slack-error-no-message-text-provided%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Xamarin.form Move up view when keyboard appear

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Anylogic : not able to use stopDelay()