"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 • 8,616 Reputation points • Microsoft External Staff
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 @Anonymous
{
"$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 @Anonymous , any updates about this?
Sign in to comment