Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applying SelectAction on Action.Submit throws error #9111

Open
shambhavisudmsft opened this issue Feb 12, 2025 · 2 comments
Open

Applying SelectAction on Action.Submit throws error #9111

shambhavisudmsft opened this issue Feb 12, 2025 · 2 comments

Comments

@shambhavisudmsft
Copy link

shambhavisudmsft commented Feb 12, 2025

[Your detailed feedback here]


Pasting the error as follows -

Error Message: Unable to parse the following response: {"info":"My submit action data"}. actionSubmitId is required to be present on the action. Error Code: AdaptiveCardResponseInvalid Conversation Id: 354a3840-7a40-41b6-906a-7929c6082ae1 Time (UTC): 2025-02-12T13:48:29.807Z

I happened to try out the Action.Execute option as well but it throws an error saying "action.submit" button not present.

It would be great if we could get a working samples for Action.submit & Action.execute being used with SelectAction

@Meghana-MSFT
Copy link

@shambhavisudmsft - Could you please let me know if you are facing this issue in Teams. If yes, would it be possible for you to share which particular JSON example gives this issue?

@shambhavisudmsft
Copy link
Author

@shambhavisudmsft - Could you please let me know if you are facing this issue in Teams. If yes, would it be possible for you to share which particular JSON example gives this issue?

Hello,
I am using this json in Copilot Studio.

{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.5", "body": [ { "type": "Container", "items": [ { "type": "TextBlock", "text": "Cool link" } ], "selectAction": { "type": "Action.OpenUrl", "tooltip": "Go to a url", "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" } }, { "type": "Container", "style": "emphasis", "items": [ { "type": "TextBlock", "text": "Emphasis link" } ], "selectAction": { "type": "Action.OpenUrl", "tooltip": "Go to a different url", "url": "https://msn.com" } }, { "type": "Container", "items": [ { "type": "TextBlock", "text": "Submit action" } ], "selectAction": { "type": "Action.Submit", "tooltip": "Submit action", "data": { "info": "My submit action data" } } } ] }
When I click the submit action, it throws that error

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants