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 / Post your own adaptive...
Power Automate
Unanswered

Post your own adaptive card as the Flow bot to a user - Error

(0) ShareShare
ReportReport
Posted on by 388

If you want to add comments from an approval flow that uses the actions 'Wait for an approval' and 'Post your own adaptive card as the Flow bot to a user' be careful.  I have found two characters that will cause the flow to fail.  The characters are \ and ".  To resolve the issue I escape the \ and replace the " with `.

 

I use the following expressions and then added the comments to a variable as in the next 3 steps.

1st compose expression: replace(triggerBody()?['text'], '\', '\\')
2nd compose expression: replace(outputs('Compose_escape_slash_in_requestor_comment'), '"', '`')
3rd set variable to output of 2nd step.
steve_hendy_0-1638434817460.png
The variable can then be used in the action 'Post your own adaptive card as the Flow bot to a user'.
 
The Error I was getting was:
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: Bad JSON escape sequence: \S. Path 'body[0].columns[0].items[2].text', line 78, position 193.
Categories:

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 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard