Reputation: 7342
I am getting started with the Microsoft Bot Framework, and tried running the very basic app from the getting started tutorial using the emulator. When I send the message, I get the error : 401 Unauthorized
Things I have done
I have corrected the URL in the emulator to match the correct URL of the app. Have deleted the APP ID and APP password from the emulator fields.
I assume I don't need to worry about https yet, since I am running locally (localhost).
Upvotes: 3
Views: 859
Reputation: 2000
Microsoft Bot Framework Document says that when you're running in the localhost
add your localhost
with the correct port and ask you to keep empty in the app id and the app pass.
But if you have added you your app id and and pass to web.config
file, make sure to add them to your emulator as well. Otherwise you will get 401 - Unauthorized
error.
Upvotes: 6