web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / adaptive card - reques...
Power Automate
Unanswered

adaptive card - request is missing or invalid

(0) ShareShare
ReportReport
Posted on by

hi,

Would anyone here be able to help me out? 

I need to send adaptive card to team with simple information about new article in sharepoint (I have no possibility use sharepoint news). The problem is that the same flow for some article works propertly and for other not. I don't know where is the source of problem. First I thought about promoted state, but after analyzing i cannot see relation.

I am quit new in flow so maybe for you it will be obvious. 

 

 

My adaptive cards look like:

{
    "type""AdaptiveCard",
    "version""1.0",
    "body": [
        {
            "speak"".",
            "type""ColumnSet",
            "columns": [
                {
                    "type""Column",
                    "width"2,
                    "items": [
                        {
                            "type""TextBlock",
                            "text""Title",
                            "size""Medium",
                            "wrap"true,
                            "weight""Bolder"
                        },
                        {
                            "type""TextBlock",
                            "text""description",
                            "wrap"true
                        }
                    ]
                },
                {
                    "type""Column",
                    "width"1,
                    "items": [
                        {
                            "type""Image",
                            "url""@{body('Get_file_properties')?['BannerImageUrl']}",
                            "altText""}",
                            "size""auto"
                        }
                    ]
                }
            ]
        }
    ],
    "actions": [
        {
            "type""Action.OpenUrl",
            "title""Przejdź do artykuÅ‚u",
            "url""url"
        }
    ]
}

 

 

errors details:

Microsoft.Azure.ProcessSimple.Data.Entities.Exceptions.ProcessSimpleDataException: The specified Teams flowbot adaptive card request is missing or invalid. The tracking Id is '{0}'. ---> Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: D. Path 'body[0].columns[0].items[1].text', line 23, position 99.
at Newtonsoft.Json.JsonTextReader.ParsePostValue(Boolean ignoreComments)
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader, JsonLoadSettings options)
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
at Microsoft.Azure.ProcessSimple.Data.Components.AdaptiveCards.AdaptiveCardBuilder.DeserializeAdaptiveCard(String serializedAdaptiveCard, RequestIdentity requestor, CultureInfo cultureInfo, BotAdaptiveCardAtMentions atMentions) in X:\bt\1143340\repo\src\processsimple\Roles\ProcessSimple.Data\Components\AdaptiveCards\AdaptiveCardBuilder.cs:line 512
--- End of inner exception stack trace ---
at Microsoft.Azure.ProcessSimple.Data.Components.AdaptiveCards.AdaptiveCardBuilder.DeserializeAdaptiveCard(String serializedAdaptiveCard, RequestIdentity requestor, CultureInfo cultureInfo, BotAdaptiveCardAtMentions atMentions) in X:\bt\1143340\repo\src\processsimple\Roles\ProcessSimple.Data\Components\AdaptiveCards\AdaptiveCardBuilder.cs:line 531
at Microsoft.Azure.ProcessSimple.Web.Common.Validation.BotAdaptiveCard(String card, RequestIdentity senderRequestIdentity) in X:\bt\1143340\repo\src\processsimple\Roles\ProcessSimple.Data\Common\Validation\BotValidation.cs:line 756

 

any idea what's the problem?

Categories:
I have the same question (0)
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @Magda_pl  can you share the adaptive card json from the flow run when your flow fails, there looks like some issue when the dynamic values are replaced in the adaptive card

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard