microsoft / BotFramework-WebChat

A highly-customizable web-based client for Azure Bot Services.
https://www.botframework.com/
MIT License
1.58k stars 1.53k forks source link

Unable to get property 'actions' of undefined or null reference #1792

Closed abishekreddy closed 5 years ago

abishekreddy commented 5 years ago

Getting an Unable to get property 'actions' of undefined or null reference error if the suggestedActions property of the activity object, sent by the bot to the webchat, is set to null. This error is immediately followed by a SCRIPT12030: WebSocket Error: Network Error 12030, The connection with the server was terminated abnormally error, post which the user cannot send or receive any messages.

Screenshot: image

Note: This was working on WebChat v3.

corinagum commented 5 years ago

Just to verify, is this v4 of Web Chat? Please share your repro code and I will take a look.

corinagum commented 5 years ago

Closing due to inactivity. Happy to reopen if a @abishkreddy responds.