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 | Development
Microsoft Teams | Development
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Microsoft Teams | Microsoft Teams for business | Other
{count} votes

Your answer

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