Closed ingmaramzan closed 1 year ago
After messing around a bit more with the issue, I think the issue happens when: A user clicks on an Action.Execute button of an adaptive card that has a text field on it. The card is sent by a chatbot and the action is done on Teams android app. It does not matter whether a bot is handling the action or not, the "Something went wrong" message will appear.
I think this issue is more suitable to be raised in the adaptive card repo.
For now I have changed my card and bot to use Action.Submit instead, because it works fine.
Thanks @ingmaramzan, I'm looking into this.
Another thing to note is that I am connected on two devices/clients in desktop and in android.
Thanks for the update @ingmaramzan
@ingmaramzan, is the issue specific to Teams?
I haven't checked anywhere else, so I can only say for Teams android.
Hi @ingmaramzan ,
I've notified the Microsoft "Teams" team about this issue. Will report back as soon as there are updates. Thanks.
Hi @ingmaramzan,
Teams engineers were unable to reproduce this issue.
Tested below NodeJS sample using Adaptive card with Action.Execute: https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-sequential-flow-adaptive-cards/nodejs
Could you please test this sample at your end and let us know if you get the same error for this sample also?
Hi @ingmaramzan, any status update on this?
closing due to inactivity.
First of all, I am not sure whether to raise this on Teams', botbuilder's, or adaptive card's repositories on github.
Versions
Package: botbuilder@4.11.0 Nodejs: v16.19.0 Browser: Version 109.0.5414.120 (Official Build) (64-bit) Teams Android Client: 1416/1.0.0/2023012702/0115
Describe the bug
I have a chatbot that functions as a notification bot that sends an adaptive card notification to our users. On the card, the user can reply to the notification by typing in the Input.Text field and then clicking a send button that triggers an Action.Execute, our Nodejs bot will then process the activity by sending notifications to corresponding user and then updating the card with a new card. This works perfectly on Web and Desktop app but in the Teams Android App the card will briefly shows an error message saying "Something went wrong" before our card is finally updated.
These is the card that I send:
And this is the bot that processed the action:
It actually does not matter what I do on the card, even if I do nothing and then only return the InvokeResponse, the error still happens.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The card is updated without any error message shown.
Screenshots