JACK
JACK

Reputation: 11

There was an error sending this message to your bot: HTTP status code InternalServerError in web chat bot framework azure portal

I am trying to test the sample application listed in BOT builder for .NET - Getting Started

I have created web app luis bot using arm template in Azure. My website works fine but when I start to chat, it gives error message 'could not send..retry' in channel blade.

There was an error sending this message to your bot: HTTP status code InternalServerError:

enter image description here

I have updated MSAppId and password in web.config file that also not working enter image description here

Anybody please suggest me if i need to add any steps

Upvotes: 1

Views: 5849

Answers (1)

Tiny Wang
Tiny Wang

Reputation: 21

I followed the document to download the sample and create the bot but when I run the program and ngrok in local environment and test in the webchat, it reported 500 Internal Server Errors.

I found the console information:

'Application with identifier 'cxxxx5' was not found in the directory 'botframework.com'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.'

So I tried to manage the Azure AD application as a Multitenant app. And it worked.

Upvotes: 2

Related Questions