"Something went wrong, please try again" Error message in Adaptive cards
I'm using adaptive card with action.submit to get info from the end users through Teams and process the information through Power Automate (Trigger - When someone responded to the adaptive card). Almost 90% of the time end users required multiple tries for 1 submission because they will get the "Something went wrong, please try again" Error message and it will take up to 5 seconds for the error to show up, ended up with taking 20-30 seconds for one submission to complete. It seems like the connection between the adaptive cards on the Teams and Power Automate is not very stable.
The error message will also show up even when they successfully submit the response.
Any solution for this?
Microsoft Teams | Development
-
Prasad-MSFT • 9,061 Reputation points • Microsoft External Staff • Moderator
2025-02-26T05:39:59.6533333+00:00 Hi Jason Lee, could you please share the adaptive card JSON which you are using along with flow steps (screenshots of the actions), so that we can try to repro from our end?
-
Jason Lee • 0 Reputation points
2025-03-05T08:19:23.4666667+00:00 Hi @Prasad-MSFT
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.5", "msteams": { "width": "Full" }, "body": [ { "type": "TextBlock", "text": "[Follow-Up]", "size": "Large", "weight": "Bolder", "fontType": "Default", "isSubtle": false, "horizontalAlignment": "Center", "wrap": true, "spacing": "None", "color": "Accent" }, { "type": "TextBlock", "text": "Vendor: ", "wrap": true, "weight": "Bolder", "separator": true }, { "type": "ColumnSet", "columns": [ { "type": "Column", "width": "stretch", "spacing": "None", "items": [ { "type": "TextBlock", "text": "Purchase Requisition No. :", "wrap": true, "weight": "Bolder" }, { "type": "TextBlock", "text": "Purchase Order No. :", "wrap": true, "weight": "Bolder", "spacing": "None" }, { "type": "TextBlock", "text": "Purchase Order Item :", "wrap": true, "weight": "Bolder", "spacing": "None" }, { "type": "TextBlock", "text": "Planned Val :", "wrap": true, "weight": "Bolder" }, { "type": "TextBlock", "text": "Remaining Val :", "wrap": true, "weight": "Bolder", "spacing": "None", "color": "Warning" }, { "type": "TextBlock", "text": "Document Date :", "wrap": true, "weight": "Bolder" }, { "type": "TextBlock", "text": "Delivery Date :", "wrap": true, "weight": "Bolder", "spacing": "None" } ] }, { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "text": "", "wrap": true }, { "type": "TextBlock", "text": "", "wrap": true, "spacing": "None" }, { "type": "TextBlock", "text": "", "wrap": true, "spacing": "None" }, { "type": "TextBlock", "text": " ", "wrap": true }, { "type": "TextBlock", "text": " ", "wrap": true, "color": "Warning", "spacing": "None", "weight": "Bolder" }, { "type": "TextBlock", "text": "", "wrap": true }, { "type": "TextBlock", "text": "", "wrap": true, "spacing": "None" } ] } ], "separator": true }, { "type": "TextBlock", "text": "P/O Description :", "wrap": true, "spacing": "Small", "weight": "Bolder", "separator": true }, { "type": "TextBlock", "text": "", "wrap": true }, { "type": "Container", "items": [ { "type": "ColumnSet", "columns": [ { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "text": "Cur.", "wrap": true, "weight": "Bolder", "horizontalAlignment": "Center" }, { "type": "TextBlock", "text": "", "wrap": true, "horizontalAlignment": "Center" } ] }, { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "text": "Unit", "wrap": true, "horizontalAlignment": "Center", "weight": "Bolder" }, { "type": "TextBlock", "text": "", "wrap": true, "horizontalAlignment": "Center" } ] }, { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "text": "Unit Price", "wrap": true, "horizontalAlignment": "Center", "weight": "Bolder" }, { "type": "TextBlock", "text": "", "wrap": true, "horizontalAlignment": "Center" } ] }, { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "text": "Qty", "wrap": true, "horizontalAlignment": "Center", "weight": "Bolder" }, { "type": "TextBlock", "text": "", "wrap": true, "horizontalAlignment": "Center" } ] }, { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "text": "Total", "wrap": true, "horizontalAlignment": "Center", "weight": "Bolder" }, { "type": "TextBlock", "text": "", "wrap": true, "horizontalAlignment": "Center" } ] } ] } ], "separator": true } ], "actions": [ { "type": "Action.ShowCard", "title": "Claim", "card": { "type": "AdaptiveCard", "body": [ { "type": "Input.Date", "isRequired": true, "label": "Please provide the job completion date.", "errorMessage": "Enter the job completion date.", "id": "completedate" }, { "type": "Input.Text", "placeholder": "Please provide justification if required", "id": "remarks", "isMultiline": true, "label": "Remarks", "spacing": "Small" } ], "backgroundImage": { "fillMode": "Repeat" }, "actions": [ { "type": "Action.Submit", "title": "Submit Response", "data": { "ResponseByUser": "Full Amount Claim" } } ] } } ]
}
-
Jason Lee • 0 Reputation points
2025-03-11T01:16:30.7866667+00:00 Hi @Prasad-MSFT , any updates about this?
-
Prasad-MSFT • 9,061 Reputation points • Microsoft External Staff • Moderator
2025-03-18T06:44:27.4366667+00:00 Hi Jason Lee, according to this documentation, Errors following Adaptive Card submission are often due to:
Using an action, which does not include ‘wait for response’ in the name
Attempting to submit the card more than once. Each Adaptive Card can be submitted only once, after which all further submissions will be ignored.
-
Jason Lee • 0 Reputation points
2025-03-18T07:51:22.85+00:00 Hi, please refer to the screenshot below.
My adaptive card has no error but the issue here is the card takes multiple clicks for one submission.
e.g.
submit (1st try) > load for 15 secs > error above appear >
submit (2nd try) > load for 15 secs > error above appear >
submit (3nd try) > load for 15 secs > error above appear >
submitted
The connection between the card with power automate platform is not stable.
-
Jason Lee • 0 Reputation points
2025-03-18T08:01:11.7233333+00:00 Please refer to this article: https://learn.microsoft.com/en-us/answers/questions/2126435/high-delay-in-response-time-for-adaptive-card-in-m for the cause of delay
Sign in to comment