Getting 401 unauthorised response
Hi, I have created a bot application using NodeJS SDK. I deploy the application in azure with default azure url http://tschatterbot.azurewebsites.net. And the url is working fine with https://tschatterbot.azurewebsites.net with HTTPS
I am getting "Accepted" response from the Test connection to you bot in https://dev.botframework.com page.
When I embed the code in web chat. I am not getting any response. I gave the correct secret and code.
I tried to get the response from the emulator using ngrok. I am getting 401 unathorized in the emulator. Please find the attached image.
Thanks in advance for your valuable solution.

Same Problem Facing in C# When sending some request in Emulator It not wrking and giving error like 401 Unauthorised Please help

Hi @pandubalraj, and @inornos, have you followed the steps in the auth troubleshooting guide, and specifically the instructions in Step 2?
https://docs.botframework.com/en-us/support/troubleshooting-bot-framework-authentication/
Hi @dandriscoll,
Thanks for your step. I have rectified the issue. The issue occurs due to invalid Microsoft APP ID & APP Password. I have created a new one and the issue is resolved by giving the proper endpoint url with proper 'https' url.
@inornos, please check your app id and password and its configuration in the C#. I hope that will rectify your problem.
Now it running on in my local machine But when i publish project on my domain it not working its giving me this error **
Could not load file or assembly 'stdole' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
**

Hi @dandriscoll .My bot works fine in the emulator,even with Microsoft app id and password but when I'm testing it at https://dev.botframework.com i get a message "couldn't send message retry".I get a 401 unauthorized error when I'm trying to get a reply from the emulator with bot url https://botwebdeployment.azurewebsites.net/ (deployed in azure).I have added my bot in microsoft bot directory and have enabled skype .But even on my machine i can send message on skype app to bot but i don't get any reply.
Very strange, but started having the same issue. Any help?
Same issue here @Chetanchezz.
Same issue @Chetanchezz @nicksav
This is a closed issue. Please open a new issue on the repository for the sdk you are using, or ask a question on StackOverflow: https://stackoverflow.com/questions/tagged/botframework https://github.com/Microsoft/botbuilder-js https://github.com/Microsoft/botbuilder-dotnet