-2

This is my screen when I get the error as soon as I try to connect to the bot enter image description here

My code was working before but I had a problem with my MS account so I had to change account with new credentials and they aren't working anymore :/

I tried this also and it works : enter image description here

if i get rid of credentials, and basically all the auth, the bot works perfectly. However when I put the auth back it gives me this error :

[16:22:24] -> POST Request to 'http://localhost:3978/api/messages' failed: [500] Internal Server Error

which isn't really helpful

Thanks for your answers! :)

Tom M
  • 2,815
  • 2
  • 20
  • 47
Shraneid
  • 309
  • 1
  • 2
  • 12

1 Answers1

0

I was pretty sure it also worked for me before. However, it doen't actually matter as explained here.

  • The purpose of localhost is just to test your bot.
  • You could test your credentials by deploying your bot and registering it in the development portal.

I encountered the same problem, but my credentials were just fine when I tested them in the portal. So, probably yours are too.

Sjoerdson
  • 123
  • 2
  • 9
  • The thing I am wondering is that it was working last week for a bit more than a month (and I did not do any update(s)) – Shraneid Aug 10 '17 at 07:46
  • I edited my answer; According to the [Documentation](https://learn.microsoft.com/en-us/bot-framework/debug-bots-emulator) it should still be supported. As I said, though, I had the same "problem", but my credentials were just fine. So, I would recommend that you test your credentials in the portal and locally just don't use them. – Sjoerdson Aug 10 '17 at 08:10
  • Thanks for the advice I don't really get what the problem is but I'll follow your advice :) – Shraneid Aug 10 '17 at 13:53