BotBuilder-Samples icon indicating copy to clipboard operation
BotBuilder-Samples copied to clipboard

[onTurnError] unhandled error: TypeError: Cannot read property 'map' of undefined

Open Bradrajkumar opened this issue 6 years ago • 4 comments

Hi team,

i am using one of the bot framework sample where "qnamaker-all-features(https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/javascript_nodejs/49.qnamaker-all-features) enabled code is available in node js. Most of the time i am trying see what would be the fix for this issue every time persisting : - [onTurnError] unhandled error: TypeError: Cannot read property 'map' of undefined which leads for error and bot is responding like :- image

please do suggest me on this or either provide me the solutions ASAP.

Bradrajkumar avatar Oct 23 '20 08:10 Bradrajkumar

@Bradrajkumar - Thank you for the report. You might be interested in this issue: https://github.com/microsoft/BotBuilder-Samples/issues/2417

Is there any chance you've included quotes in your .env file?

v-kydela avatar Oct 23 '20 18:10 v-kydela

@Bradrajkumar - Are you still working on this?

v-kydela avatar Oct 30 '20 22:10 v-kydela

I am closing this issue due to inactivity. We are still happy to provide help if you need any, though it may be a good idea to make a new post if that's the case. Please have a look at this to find out the best places to ask for help, and consider asking questions on Stack Overflow.

v-kydela avatar Nov 03 '20 00:11 v-kydela

I am also having this issue and I have checked the .env file, there is no quotes. I am not sure what I am missing, this is happening for both QnA samples

Mattw11486 avatar Jan 22 '21 10:01 Mattw11486