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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Dynamic value contains...
Power Automate
Unanswered

Dynamic value contains " and is causing an error in my json code (adaptive card).

(0) ShareShare
ReportReport
Posted on by

I am essentially calling up a MS Form field value.
This value can contain anything - including a double quote ".

The issue is that when you have this in your json
"text": "DYNAMIC VALUE",

The dynamic value that includes a " somewhere within it - causes the json to see that as the end of the expression - therefore you get an "unexpected character" error. 

I am under the impression I need to massage the dynamic MS Forms value prior to it getting to the adaptive card action - but I am not quite sure how.
Perhaps you can do it in the json code itself, but I am not sure what to even google to get the answers I need.

Thank you!

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,856 Most Valuable Professional on at
    Re: Dynamic value contains " and is causing an error in my json code (adaptive card).

    Hi @Anonymous 

     

    In order to analyse your problem could you please post a screenshot of you flow, sample data and run history error details.

     

    Thanks

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: Dynamic value contains " and is causing an error in my json code (adaptive card).

    Hi @abm 

    I actually figured it out - Power Automate actually will sanitize data for you if you put it through a specific action.
    Which I would tell you all about, but I am having an 'Authentication Failed' error with my O365 stuff.

  • abm abm Profile Picture
    32,856 Most Valuable Professional on at
    Re: Dynamic value contains " and is causing an error in my json code (adaptive card).

    Hi @Anonymous 

     

    Glad to hear that you fixed your issue. There is an outage for O365 and Microsoft support is fixing this now. I had similar issues for few minutes and its resolved now.

     

    Thanks

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard