[.Net SDK, Cortana] Bot not responding on Cortana channel?
I have build a Chatbot that is working fine as Web Chat but when I configured it on Cortana Channel nothing is happening. I am having the following error every time when I invoke my skill set from Cortana.
"Cortana has run into a problem. Please try again later." OR "Connection to skill has failed. Channel Response: InternalServerError, Request Id: 622A41DF0CE249CE903F21C153501D8C".
I appreciate if someone can help me, How can I resolve this issue or debug it.
Hi @omairzia,
What SDK have you used to create your bot? Please, provide more information so we can better assist you.
Regards, Francisco
Thanks @FranciscoPonceGomez I have used the Microsoft BOT Framework to create this BOT with LUIS to recognize the intents. Interestingly my BOT is working absolutely fine in Web Chat.
I have the similar problem as well. I guess you might need to handle that cortana triggered your bot without any message.
Are you using C# or Node?
I am using C#
@omairzia can you please post your code so we can take a look?
I am showing the four options in the beginning of BOT by using the following Code:
PromptDialog.Choice<string>(
context: context,
resume: SelectedOption,
options: RoutingOption,
prompt: " ",
retry: NoneMessages.SorryOptionMessage,
attempts: 3);
The resume function "SelectedOption" is implemented as follows:
private async Task SelectedOption(IDialogContext context, IAwaitable<string> result)
{
string mess = ((Activity)context.Activity).Text;
string selectedOption = await result;
switch (selectedOption)
{
case "Appointment":
context.Call(appDialog, ResumeAfterAppointmentDialog);
break;
case "Personal Loan":
await CallLoanDialog(context, selectedOption);
break;
case "FAQ":
await CalLoanFAQDialog(context, selectedOption);
break;
case "Currency FX":
await CalCurrencyDialog(context, selectedOption);
break;
default:
await InvalidMessage(context, mess);
break;
}
}
}
What I have observed the four options are displayed on CORTANA but once I select one of them the resume method is not executing.
I had the same issue but was able to resolve it by removing the skill from https://my.knowledge.store, remove the channel from my bot. After re-adding the channel and re-publishing the skill it worked.

I'm also faced the same issue. I'm using nodejs. After downgrade the botbuilder npm package to ("botbuilder": "3.12.0"). Its working fine. "botbuilder": "^3.12.0", changed to "botbuilder": "3.12.0" in my package.json file. ^ means automatically update when new release or updated will come
I recently ran into this issue after configuring OAuth for a cortana skill and the only debug information I get is
Connection to skill has failed. Channel Response: InternalServerError, Request Id: AN_ID_STRING
Is there no way to debug this? Recreating the channel did not help.
Thank you for opening an issue against the Bot Framework SDK v3. As part of the Bot Framework v4 release, we’ve moved all v3 work to a new repo located at https://github.com/microsoft/botbuilder-v3. We will continue to support and offer maintenance updates to v3 via this new repo.
From now on, https://github.com/microsoft/botbuilder repo will be used as hub, with pointers to all the different SDK languages, tools and samples repos.
As part of this restructuring, we are closing all tickets in this repo.
For defects or feature requests, please create a new issue in the new Bot Framework v3 repo found here: https://github.com/microsoft/botbuilder-v3/issues
For Azure Bot Service Channel specific defects or feature requests (e.g. Facebook, Twilio, Teams, Slack, etc.), please create a new issue in the new Bot Framework Channel repo found here: https://github.com/microsoft/botframework-services/issues
For product behavior, how-to, or general understanding questions, please use Stackoverflow. https://stackoverflow.com/search?q=bot+framework
Thank you.
The Bot Framework Team