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 Automate
Answered

Adaptive Card Error

(0) ShareShare
ReportReport
Posted on by 33

Hi there, I have a flow that was already built as part of the Employee Support Chatbot that is downloadable from Microsoft. The flow passes feedback or requests into Teams for us to respond to and it's been working away great but today I noticed that one submission by an employee just won't pass through the flow and fails each time I try to resubmit the flow.  The full error message is below. Others are passing through no bother at all. Any one have any idea what may be causing it? 

 

Should I be looking out for a special character they've used in their description or something? I notice that in the description text the person has added the special characters " " around a word.  If it is that causing the error, do I need to change the bit that says TextBlock to something else? I was thinking should I change it to RichTextBlock instead?  Not sure.

 

The request failed. Error code: 'InvalidJsonInBotAdaptiveCard'. Error Message: '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: S. Path 'body[1].columns[1].items[1].text', line 60, position 100.
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)
--- End of inner exception stack trace ---
at Microsoft.Azure.ProcessSimple.Data.Components.AdaptiveCards.AdaptiveCardBuilder.DeserializeAdaptiveCard(String serializedAdaptiveCard, RequestIdentity requestor, CultureInfo cultureInfo, BotAdaptiveCardAtMentions atMentions)
at Microsoft.Azure.ProcessSimple.Web.Common.Validation.BotAdaptiveCard(String card, RequestIdentity senderRequestIdentity)'.

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

    @leemagoo  can you share adaptive card json from the flow run which is failing?

  • Verified answer
    leemagoo Profile Picture
    33 on at

    Thanks for getting back to me Anna.  I've just this morning found that it is because of the quote marks used in the Title text field by the employee when they were inputting the Request via the Chatbot. 

     

    The work around I've implemented to fix this is the creation of a variable (I called it TitleVar) in the Power Automate flow that looks at the Title text field, and replaces any quote marks from the text field with blank.

     

    Part of the json that was causing the issue in bold below:

    "type": "TextBlock",
    "text": "@{triggerBody()['text']}",
    "wrap": true

     

    Now Fixed: 

    "type": "TextBlock",

    "text": "@{variables('TitleVar')}",
    "wrap": true },

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard