BotFramework-Emulator icon indicating copy to clipboard operation
BotFramework-Emulator copied to clipboard

Unable to connect bot emulator using local visual studio app.

Open bhupendrarawat1973 opened this issue 9 years ago • 6 comments

I am unable to connect with bot emulator using local visual studio app. getting the following error below:

POST Refresh access token failed with status code: 400

bhupendrarawat1973 avatar Jan 31 '17 14:01 bhupendrarawat1973

Hi @bhupendrarawat1973 Could you try clearing MSA appId and password from both sides (bot and emulator) and try again? It might be that one or both sides have an MSA misconfiguration.

Another possibility is you're using MSA credentials but working offline. MSA requires internet connectivity.

Here's a helpful auth debugging guide: https://docs.botframework.com/en-us/support/troubleshooting-bot-framework-authentication/

eanders-ms avatar Jan 31 '17 16:01 eanders-ms

Closing for lack of response. If you're still seeing this problem, please open a new issue. Thanks.

eanders-ms avatar Feb 13 '17 22:02 eanders-ms

I am facing the same issue while working on local bot. As per your response, removed appID and password from web.config and emulator still not able to proceed further.

SachchinAnnam avatar Aug 03 '17 12:08 SachchinAnnam

Screenshot (1) can u tell me how to resolve the error.

vansh187 avatar Mar 18 '19 07:03 vansh187

i am not able to connect bot file with emulator

vansh187 avatar Mar 18 '19 07:03 vansh187

Hello @vansh187 ,

For future reference, please open up a new issue instead of commenting on a closed, inactive issue if they are not related.

===

The "Unable to connect." message is supposed to show when the connection to the bot has been rejected due to bad credentials. However, I see that you are connecting to a local bot.

Can you possible upload the JSON inside of your .bot file? Make sure to remove any sensitive information beforehand if necessary (keys / secrets).

tonyanziano avatar Mar 19 '19 21:03 tonyanziano