Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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?

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at
    Re: adaptive card - request is missing or invalid

    @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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,552 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow