Bot is sending 4 requests to hooks endpoing for a single user message

Saurabh Jagtap 5 Reputation points
2024-09-20T08:06:53.6833333+00:00

I have a teams bot installed. Whenever a user clicks on a button, it responds back accordingly. We are using msteams bot using botframework-connector and botbuilder, both or v4.20.1

Since last few days, we are observing couple of issues. one started coming up suddenly, and another one after the next day of first issue. Summing up them below:

  1. Whenever a user clicks on some buttons on adaptive cards, they are getting following message below the card, though bot responds just fine: itdXEF2j

Again, they are seeing the error in red box, but bot responds back accordingly.

Upon checking the network tab, one /invoke api gets called and fails with 502 bad gateway. endpoint: `https://teams.microsoft.com/api/chatsvc/in/v1/agents/28:

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,134 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,267 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.