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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error by creating an a...
Power Automate
Unanswered

Error by creating an adaptive card

(0) ShareShare
ReportReport
Posted on by 4

I get the following error, when the case is created with the help of Microsoft Dynamics 365 App for Outlook. When the case is created directly in CRM or in portal everything works fine. The flow triggers when the record is created in Dynamics 365.

 

"InvalidJsonInBotAdaptiveCard"
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: H. Path 'body[0].text', line 9, position 40.
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) in X:\bt\1046707\repo\src\processsimple\Roles\ProcessSimple.Data\Components\AdaptiveCards\AdaptiveCardBuilder.cs:line 384
--- End of inner exception stack trace ---
at Microsoft.Azure.ProcessSimple.Data.Components.AdaptiveCards.AdaptiveCardBuilder.DeserializeAdaptiveCard(String serializedAdaptiveCard, RequestIdentity requestor) in X:\bt\1046707\repo\src\processsimple\Roles\ProcessSimple.Data\Components\AdaptiveCards\AdaptiveCardBuilder.cs:line 392
at Microsoft.Azure.ProcessSimple.Web.Common.Validation.BotAdaptiveCard(String card, RequestIdentity senderRequestIdentity) in X:\bt\1046707\repo\src\processsimple\Roles\ProcessSimple.Web\Common\Validation\BotValidation.cs:line 585
Categories:
  • efialttes Profile Picture
    14,756 on at

    Hi!

    Can you share your current adaptive card design?

    Thanx!

  • FabiRoe Profile Picture
    4 on at
    Here is the designe of my card
    {
    "type": "AdaptiveCard",
    "version": "1.0",
    "speak": "Our team meeting is starting soon. Do you want to snooze  or do you want to send a late notification to the attendees?",
    "body": [
        {
        "type": "TextBlock",
        "text": "[@{triggerBody()?['ticketnumber']}] @{triggerBody()?['title']}",
        "size": "large",
        "weight": "bolder"
        },
        {
        "type": "TextBlock",
        "text": "Kunde: @{body('Datensatz_abrufen')?['name']}",
        },
        {
        "type": "TextBlock",
        "text": "Nachricht: @{triggerBody()?['description']}",
    "wrap": true
        }
    ],
    "actions": [
        {
                "type": "Action.OpenUrl",
                "title": "Ticket öffnen",
                "url": "@{body('Datensatz_abrufen_2')?['new_url']}"
            }
    ]
    }
  • DarrenPlant Profile Picture
    77 on at

    I have a similar issue, should I post here or start a new thread?

  • steve_hendy Profile Picture
    388 on at

    I've discovered the issue was down to using characters in the text.  Other than using the replace function to parse the text I have no fix.  To date I can't find any Microsoft documentation which lists characters that cannot be used in 'Post your own adaptive card as the flow bot to a user' .

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 331 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard