cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sjon
Frequent Visitor

Microsoft forms output with " in the message

All,

 

Simple question:

We have a form that goes into Excel and in an HTTP request email. But every time someone uses the "quotation marks" the flow stops at the http request. The error is saying Unable to read JSON request payload. Please ensure Content-Type header is set and payload is of valid JSON format. 

 

So can somebody explain me why the " text" is not working? 

1 ACCEPTED SOLUTION

Accepted Solutions
Rhiassuring
Super User
Super User

Because it thinks it's another passed value that's missing a key, I think.

Here's the same issue as yours:

 

https://powerusers.microsoft.com/t5/Building-Flows/Double-Quotes/td-p/569666

 

There are two ways to solve it - either remove the quotes entirely using replace, or, replace them with escaped quotes, as shown here: 

Rhiassuring_0-1654044889527.jpeg

 

______________________________________________________________


Did this answer your question? Please mark it as the solution.
Did it contribute positively towards finding the final solution? Please give it a thumbs up.

I answer questions on the forum for 2-3 hours every Thursday!



View solution in original post

2 REPLIES 2
Rhiassuring
Super User
Super User

Because it thinks it's another passed value that's missing a key, I think.

Here's the same issue as yours:

 

https://powerusers.microsoft.com/t5/Building-Flows/Double-Quotes/td-p/569666

 

There are two ways to solve it - either remove the quotes entirely using replace, or, replace them with escaped quotes, as shown here: 

Rhiassuring_0-1654044889527.jpeg

 

______________________________________________________________


Did this answer your question? Please mark it as the solution.
Did it contribute positively towards finding the final solution? Please give it a thumbs up.

I answer questions on the forum for 2-3 hours every Thursday!



Sjon
Frequent Visitor

I will add this in the flow, for the meant time nobody is aloud to use the "" for the time being.

Still i find it weird that a input (plain text) can screw up it so easily.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,960)