Virtual Assistant and Skills
Typescript
When skill switch prompt is triggered and the user answers "No" it fails to invoke the skill.
Go into a skill from the VA, type interrupt to switch to another skill and enter no to the skill switch prompt.
The current skill to restart.
The error is: Error: Error invoking the skill id: "myfavoriteskill" at "https://**.azurewebsites.net/api/messages" (status is 500). ReferenceError: err is not defined at SkillDialog. (D:\home\site\wwwroot\nodemodules\botbuilder-dialogs\lib\skillDialog.js:160:23) at Generator.next () at fulfilled (D:\home\site\wwwroot\nodemodules\botbuilder-dialogs\lib\skillDialog.js:11:58) at process.tickCallback (internal/process/nexttick.js:68:7)
No
Thanks @Bots4life for reporting this issue! Are you using the TypeScript samples or creating the bots using [email protected]?
As soon as we have any update, we will back to you here 馃槉.
Thanks for the reply @Batta32
We are using the TypeScript samples
Adding in a screenshot for context

@Batta32 could you please take a look at the customer's answer? Thank you.
Hi @Bots4life & @mrivera-ms, sorry for the delay. We replicated the scenario but the error was not reproduced.
To help us understand and reproduce the issue, we have some questions:
Our environment:
To test the scenario we followed these steps:
We tested the scenario both in MS Teams and in BotFramework Emulator, in both cases we had the same result.
We will be attentive to your comments 馃檪.

@Batta32 @VictorGrycuk @mrivera-ms
Thank you for the help and quick responses everyone, we found the issue was with a modification we made to the defaultActivityHandler. Inside of onEndOfConversationActivity() we added a sendEoCToParent() to help with an issue we were having with another customization. Removing this line allows the skill to be restarted properly.
Thanks again!
Most helpful comment
@Batta32 @VictorGrycuk @mrivera-ms
Thank you for the help and quick responses everyone, we found the issue was with a modification we made to the defaultActivityHandler. Inside of onEndOfConversationActivity() we added a sendEoCToParent() to help with an issue we were having with another customization. Removing this line allows the skill to be restarted properly.
Thanks again!