Abra
Abra

Reputation: 130

Receiving error when clicking buttons in Microsoft Teams Bot

I'm working on a bot in Microsoft Teams which is communicating with a Bot Service in Azure built on Bot Framework. Everything, including clicking buttons, worked perfectly on my own machine.

Then a colleague of mine tried it. He could ask questions to the bot just fine, but when he tried to click a button an error appeared in the chat window:

"Something went wrong, please try again".

Looking in the console, we can see the error:

"Invoke failed due to internal error: Invoke failed: something went wrong in ProcessInvoke"

The error message appear on the very first request when calling "Invoke".

I've tried reinstalling the bot.

I've tried clearing cache/using different browser, but the problem seem to follows the user and not the browser.

This would suggest there is a user permission problem (though I wouldn't see why), but we've also tried to elevate privileges of the user without success.

The bot was created in App Studio, then downloaded as a zip and installed using "Upload custom app" in the Teams Apps Store, and made available to a specific Team.

Upvotes: 0

Views: 421

Answers (1)

Abra
Abra

Reputation: 130

This turned out to be the same issue as explained in this thread:

https://techcommunity.microsoft.com/t5/Microsoft-Teams/Bot-messageback-issue-in-1-1/td-p/678322

Microsoft has fixed this issue, and the bot now work as expected.

Upvotes: 1

Related Questions