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

Created on 3 May 2017  路  8Comments  路  Source: microsoft/botframework-sdk

Pre-flight checklist

System Information

C#, VS 2017

Issue Description

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

I am able to test connection to my bot successfully after I publish to Azure. But when I start to chat, it gives error message 'could not send..retry'

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

BTW, it works perfectly in BOT framework emulator

My bot handle is firsttestbot1

My message endpoint is

https://botapplication120170430104028.azurewebsites.net/api/messages

Expected Behavior

The application is supposed to return the length of the string value in web chat channel

Actual Results

But when I start to chat, it gives error message 'could not send..retry'
There was an error sending this message to your bot: HTTP status code InternalServerError

image

Most helpful comment

where can i find web.config file??

All 8 comments

Are the MicrosoftAppId and MicrosoftAppPassword set in the web.config?

c# <appSettings> <add key="MicrosoftAppId" value="" /> <add key="MicrosoftAppPassword" value="" /> </appSettings>

Also, please upgrade your bot to the latest version via Nuget.

Yes, that worked. I updated the Microsoft AppId and password. Thank you.

When I am trying to test my ChatBot in https://dev.botframework.com, it gives error message 'could not send..retry'
There was an error sending this message to your bot
I have hosted the Web API in IIS.
I have provided appropriate Microsoft AppId and Password in web.config.Still its not working.Please help.

@Pratima1490 You've commented on a closed issue.

Please open a new issue, and provide as much information as possible so we are able to help assist in determining what the problem is.

Hi, I'm trying to connect my bot to an email channel, I have an AD O365 account, but it says "Unable to save"? Can you please tell me, how can I fix this issue. Thank you very much.

@ErnanColindres can you please open a new issue?

where can i find web.config file??

@kintalisiva on your solution - you create a Bot Application right?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hailiang-wang picture hailiang-wang  路  3Comments

Arimov picture Arimov  路  3Comments

Vigneshramkumar picture Vigneshramkumar  路  3Comments

clearab picture clearab  路  3Comments

kenyeung128 picture kenyeung128  路  3Comments