I am working on Bot framework technology. Everything was working fine(when I was using localhost url in bot emulator) but after I published my bot in azure, then by using the publish URL I am trying to test it in bot framework channel emulator, it always responds with the same message "Sorry, my bot code is having an issue". The log says "POST Request to 'https://************.azurewebsites.net/api/messages' failed: [500] Internal Server Error". I get the same reply when I register my bot on https://dev.botframework.com/bots and try to send messages using web chat(I filled the App ID and App Password fields in web.config). Why am I getting that error?
Thanks for your help.