There was an error sending this message to your bot: HTTP status code InternalServerError (HTTP ERROR 500)

richard lee 0 Reputation points
2023-12-20T08:05:38.7266667+00:00

I paste my bot's message endpoint to browser, and it response http error 500.

Then I go to Application Insight to find where's the problem.

I find this information below:

Failed methodMicrosoft.Bot.ChannelConnector.BotAPI.ThrowOnFailedStatusCodeMessagePOST to testQA-1-bot failed: POST to the bot's endpoint failed with HTTP status 500 POST to the bot's endpoint failed with HTTP status 500

Exception	Call Stack: Microsoft.Bot.Schema.BotException:   at Microsoft.Bot.ChannelConnector.BotAPI+
Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
752 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 18,370 Reputation points
    2023-12-29T20:36:01.08+00:00

    Thanks for posting your question in the Microsoft Q&A forum.
    I would test the bot locally using tools like the Bot Framework Emulator to see if the issue persists.

    This can help you determine if the problem is specific to the production environment.

    https://learn.microsoft.com/en-us/azure/bot-service/bot-service-debug-emulator?view=azure-bot-service-4.0&tabs=csharp

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **

    0 comments No comments