Azure bot suddenly stopped working - Error Log:"Cannot read properties of undefined (reading 'requestedDataType')

実装改善担当 1 Reputation point
2022-09-12T00:52:02.147+00:00

Hello

I am facing this error while tyring to chat with Azure Bot
Until the day before, the chatbot was working normally.
But when I sent a message to Azure Bot, it suddenly stopped

So I checked the error log in the chrome console.
As a result, there was the following error message.

  1. The message port closed before a response was received.
  2. Cannot read properties of undefined (reading 'requestedDataType')
  3. DevTools failed to load source maps (Failed to load content of https://bot-framework.azureedge.net/libs/underscore-min.map (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE) )

1: I checked if the connection token is correct because the port may be closed. I have verified that the connection token is correct.
2,3: It was determined that some definition was not loaded. However, I have no idea about the file underscore-min.map.

I would like to know the cause of this error and how to resolve it.

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,409 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. YutongTie-MSFT 46,986 Reputation points
    2022-09-12T22:59:33.92+00:00

    Hi @実装改善担当

    Thanks for using Microsoft Q&A platform. Is there anything has been changed before the issue occurs? There are two possible reasons for this error :

    1.Related to developer tools settings.

    Per my research you could try to uncheck "Enable JavaScript source maps" in developer tools settings.

    Press F12 > Settings > Uncheck "Enable JavaScript source maps".

    110961-1.png
    110899-2.png

    For Reference:
    https://stackoverflow.com/questions/61339968/devtools-failed-to-load-sourcemap-could-not-load-content-for-chrome-extension
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    2.There may be something wrong with https://bot-framework.azureedge.net/libs/underscore-min.map resource, I have forwarded this to product team for investigation. Please have a try for point 1 so that I can confirm this to product team.

    I hope this helps!

    Regards,
    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more