My bot just refuses to work with my appId & password on my dev emulator so tried to do the simplest version possible. This is what I tried:
- Create a new blank project from the newly copied "Bot Application" template.
- Update all the NuGet packages (except System.IdentityModel.Tokens.Jwt v5.1.4 as it isn't compatible with Microsoft.Bot.Builder 3.8.1).
- Test it in the emulator with no AppId / Password and it works.
- Update the AppId & Password in the web.config.
- Run the emulator again and enter the AppId & Password into it.
So it's a brand new solution from the template with just with my credentials changed and this is the error that it gives:
POST 401 [conversationUpdate]
Error: The bot's MSA appId or password is incorrect.
Edit your bot's MSA info
The credentials are definitely correct as I've tested then with the cUrl command and received the token.
My dev machine is Windows Server 2008 R2.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…