[Performance] Refresh access token failed with status code: 400 and No tenant-identifying information found in either the request or implied by any provided credentials
System Information (Required)
- SDK Language: NODE
- SDK Version: 3.10.10
- Development Environment: AWS
Issue Description
- The bot is unable to connect and is giving error code 400
error: Refresh access token failed with status code: 400
Code Example
When troubleshooting getting this response
curl -k /common/oauth2/v2.0/token -d "grant_type=client_credentials&client_id=&client_secret=&scope=https%3A%2F%2Fapi.botframework.com%2F.default"
{"error":"invalid_request","error_description":"AADSTS50059: No tenant-identifying information found in either the request or implied by any provided credentials.\r\nTrace ID: 26b3ec0b-d9ca-4794-9049-c3e6fe624a00\r\nCorrelation ID: 8a42d49d-35bb-4a08-b3e5-a874f25453b2\r\nTimestamp: 2017-07-25 18:59:41Z","error_codes":[50059],"timestamp":"2017-07-25 18:59:41Z","trace_id":"26b3ec0b-d9ca-4794-9049-c3e6fe624a00","correlation_id":"8a42d49d-35bb-4a08-b3e5-a874f25453b2"}
Steps to Reproduce the Issue
Try connecting your bot with any platform , send message to bot and see the logs
Expected Behavior
The bot should connect and respond normally.
Actual Results
error: Refresh access token failed with status code: 400
at Request._callback (/home/ubuntu/multichannelchatbot/node_modules/botbuilder/lib/bots/ChatConnector.js:489:28)
at Request.self.callback (/home/ubuntu/multichannelchatbot/node_modules/request/request.js:188:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request.
@Aashish-Amber Thanks for reporting. We are experiencing a service interruption and we've got multiple engineers looking into it. Will update you when we have more details.
Thanks for the response , Hope it gets fixed soon.
Fantastic! The folks at the OneWeek hackathon thank you :)
Same problem here. We are suffering this problem since 8 PM CEST. Can we help you with any kind of test or sending you any logs? Environment: node.js. We have the development environment running on internal infrastructure at Spain and the production environment running on Azure (North Europe)
This should be updated on the status page, perhaps? Azure Bot Service shows green right now, despite the "service interruption" https://azure.microsoft.com/en-us/status/
We all know that it is still in Preview, but, for those who have their Bots under BotFramework infraestructure... how do you explain this downtime to your customers?
Same here, our bot stop working suddenly. We are using Slack and Teams and both are affected.
+1
Same problem. Slack, Telegram, Skype version - error 400.
Our certificate was expired and took me an hr to actually figure out this was the problem. Yes, same problems here.. 2 bots, all channels. Theres no indication on the Channels page either..
seems to be back!
Yes, I can see my bot is working correctly =) But how long it can work normally?
The incident has been resolved, bots should be back to normal activity now.
My bot is still not replying?
@stevengum97 / @nwhitmont - Any further information on what caused this outage please?
Any alternatives we, as users of the SDK could have pursued during the service interruption?
My bots are working now ...
Notice last message says: Error sending to bot
This issue happens on all channels except emulator.
I'm even remote debugging to my azure app service, and bot framework is not sending the activities to it.

@nwhitmont
@xjose97x
Please open a new issue. (The underlying problem related to #3197 has been resolved.)
@EricDahlvang , the thing is that my bot was working fine until this issue appeared, and since then, it has not been working.