How to fix HTTP Error 500.1002 - Internal Server Error when I tried to deploy my echo bot to azure.
I'm currently working on building a bot using Bot framework. I edited the echo bot to display a welcome message and a login screen. Everything works fine in my bot emulator. Therefore I wanted to deploy this basic bot and test it in teams before proceeding with my remaining code.
I followed all the instructions given in the microsoft documentation.
After deploying when I try to test the bot in web chat nothing appears. I checked the issues tab and found the following.
I then activated the log stream to check the error in the console. Found out there was the following error.
I then checked my kudu debug console.
I checked inside the iisnode in the wwwroot and got the following
Earlier there was one more error popping up but I updated the node version in the Environment Variables in the App Service then the issue stopped appearing. But the current issue is the above one. I'm unable to deploy the bot which was working fine in local and test it in cloud. Any Help would be greatly appreciated. Thanks in advance.