Forum Discussion
praveshsonkusare
Aug 08, 2023Copper Contributor
Re: There was a problem submitting your changes. Try again in
Meghana-MSFT Yes, It is the same issue. When clicking on the buttons multiple times, it starts working.
12 Replies
- Meghana-MSFTFormer Employeepraveshsonkusare - Could you please share your card JSON with us?
- praveshsonkusareCopper Contributor
Example Message: { "messageCard": "messageCard", "@context": "http://schema.org/extensions", "summary": "critical Alert - LMD1", "themeColor": "#FF0000", "sections": [ { "activitySubtitle": "Wed Jul 21 11:44 PM UTC 2021", "activityTitle": "critical Alert - LMD1", "activityImage": "https://images.g2crowd.com/uploads/product/hd_favicon/1487566436/logicmonitor.png", "facts": [ { "name": "LogicMonitor", "value": "[Link to Alert]" }, { "name": "Message", "value": "critical - 127.0.0.1_collector_47548 Host Status heartbeat<br>Alert Rule: This alert matches the rule ms-teams-rule<br>Recipients: Alert now is going to stage 1 recipients: email address removed for privacy reasons(MS Teams Integration)" }, { "name": "Host", "value": "127.0.0.1_collector_47548" } ] } ], "potentialAction": [ { "@type": "HttpPOST", "name": "Acknowledge", "target": "<url>", "headers": [ { "name": "content-type", "value": "application/json" }, { "name": "lm-x-token", "value": "*****" } ] "body": "{}", "isPrimary": true }, { "@type": "actionCard", "name": "Schedule Down Time", "inputs": [ { "@type": "MultichoiceInput", "id": "sdt_type", "isRequired": true, "title": "Set SDT For", "choices": [ { "display": "Instance", "value": "INSTANCE" }, { "display": "Device", "value": "DEVICE" } ], "value": "INSTANCE" }, { "@type": "MultichoiceInput", "id": "sdt_duration", "isRequired": true, "title": "Select the SDT duration", "choices": [ { "display": "30 Minutes", "value": "30" }, { "display": "1 Hour", "value": "60" }, { "display": "2 Hours", "value": "120" }, { "display": "8 Hours", "value": "480" }, { "display": "24 Hours", "value": "1440" }, { "display": "7 Days", "value": "10080" }, { "display": "30 Days", "value": "43200" } ] }, { "@type": "textInput", "id": "sdt_comment", "title": "SDT Notes (optional)", "isMultiline": true } ], "actions": [ { "@type": "HttpPOST", "name": "Save", "target": "<URL>", "headers": [ { "name": "content-type", "value": "application/json" }, { "name": "lm-x-token", "value": "*****" } ], "body": "{}", "isPrimary": true } ] }, { "@type": "HttpPOST", "name": "Full Alert Details", "target": "<URL>", "headers": [ { "name": "content-type", "value": "application/json" }, { "name": "lm-x-token", "value": "*****" } ], "body": "{}", "isPrimary": true } ] }- ChetanSharma-msft
Microsoft
Hello praveshsonkusare - We are able to repro your issue and raise a bug.
Please refer this thread: Message Card Action Buttons not working consistently - Microsoft Community Hub