microsoft / microsoft/AdaptiveCards
[Rendering] On Action.Submit receive error "Something went wrong. Please Try again"
Open
Nobody has claimed this yet.
Area-Renderers
Bug
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Target Platforms
UWP
SDK Version
Shema version 1.4
Application Name
Microsoft Teams
Problem Description
One user is having an issue submitting a card using Teams. Other users are able to interact with it fine.
Screenshots
Card JSON
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.4",
"fallbackText": "",
"body": [
{
"type": "TextBlock",
"text": "Run",
"size": "medium",
"weight": "bolder",
"wrap": true,
"style": "heading"
},
{
"type": "TextBlock",
"text": "What do you want to run?",
"wrap": true
}
],
"actions": [
{
"type": "Action.ShowCard",
"title": "Report 1",
"card": {
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.4",
"body": [
{
"type": "TextBlock",
"text": "What do you want to run against?",
"wrap": true
}
],
"actions": [
{
"type": "Action.ShowCard",
"title": "List",
"card": {
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.4",
"body": [
{
"type": "Input.Text",
"id": "list",
"isMultiline": true,
"label": "list",
"isRequired": true,
"placeholder": "list ..."
},
{
"type": "Input.ChoiceSet",
"id": "sort",
"label": "Sort",
"style": "compact",
"value": "none",
"choices": [
{
"title": "None",
"value": "none"
},
{
"$data": "${sortQueries}",
"title": "${name}",
"value": "${query}"
}
],
"isRequired": true
},
{
"type": "Input.ChoiceSet",
"id": "pages",
"label": "Pages to generate",
"style": "compact",
"value": "${pages[0].pages}",
"choices": [
{
"$data": "${pages}",
"title": "${name}",
"value": "${pages}"
}
],
"isRequired": true
},
{
"type": "Input.ChoiceSet",
"id": "environment",
"label": "Environment",
"style": "compact",
"choices": [
{
"$data": "${environments}",
"title": "${name}",
"value": "${file}"
}
],
"value": "${environments[0].file}",
"isRequired": true
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Start",
"data": {
"type": "report",
"report": "report 1"
}
}
]
}
},
{
"type": "Action.ShowCard",
"title": "Query",
"card": {
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.4",
"body": [
{
"type": "Input.ChoiceSet",
"id": "query",
"label": "Query",
"style": "compact",
"value": "${universeQueries[0].query}",
"choices": [
{
"$data": "${universeQueries}",
"title": "${name}",
"value": "${query}"
}
],
"isRequired": true
},
{
"type": "Input.ChoiceSet",
"id": "sort",
"label": "Sort",
"style": "compact",
"value": "none",
"choices": [
{
"title": "None",
"value": "none"
},
{
"$data": "${sortQueries}",
"title": "${name}",
"value": "${query}"
}
],
"isRequired": true
},
{
"type": "Input.ChoiceSet",
"id": "pages",
"label": "Pages to generate",
"style": "compact",
"value": "${pages[0].pages}",
"choices": [
{
"$data": "${pages}",
"title": "${name}",
"value": "${pages}"
}
],
"isRequired": true
},
{
"type": "Input.ChoiceSet",
"id": "environment",
"label": "Environment",
"style": "compact",
"value": "${environments[0].file}",
"choices": [
{
"$data": "${environments}",
"title": "${name}",
"value": "${file}"
}
],
"isRequired": true
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Start",
"data": {
"type": "report",
"report": "report 1"
}
}
]
}
}
]
}
},
{
"type": "Action.ShowCard",
"title": "Report 2",
"card": {
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.4",
"body": [
{
"type": "Input.Text",
"id": "list",
"isMultiline": true,
"label": "list",
"isRequired": true,
"placeholder": "List ..."
},
{
"type": "Input.ChoiceSet",
"id": "environment",
"label": "Environment",
"style": "compact",
"value": "${environments[0].file}",
"choices": [
{
"$data": "${environments}",
"title": "${name}",
"value": "${file}"
}
],
"isRequired": true
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Start",
"data": {
"type": "report",
"report": "banking"
}
}
]
}
},
{
"type": "Action.ShowCard",
"title": "Other Report",
"card": {
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.4",
"body": [
{
"type": "Input.ChoiceSet",
"id": "report",
"label": "Report to generate",
"style": "compact",
"value": "${otherReports[0].file}",
"choices": [
{
"$data": "${otherReports}",
"title": "${name}",
"value": "${file}"
}
],
"isRequired": true
},
{
"type": "Input.ChoiceSet",
"id": "environment",
"label": "Environment",
"style": "compact",
"value": "${environments[0].file}",
"choices": [
{
"$data": "${environments}",
"title": "${name}",
"value": "${file}"
}
],
"isRequired": true
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Start",
"data": {
"type": "report"
}
}
]
}
}
]
}
Sample Code Language
No response
Sample Code
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported Action.Submit failure in UWP or Teams using the provided Adaptive Card JSON. Compare the working and failing user cases, then identify the rendering or submission path involved; done means the card submits successfully without the reported error.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100