Hello,
I am new to powerautomate and I have created a flow that collects the response from a MS Form. I am getting the error "Unable to process template language expressions in action 'Parse_JSON' inputs at line '0' and column '0': 'Required property 'content' expects a value but got null. Path ''.'.". I know this error results from the Form not having an image, but I don't know how to create a condition to by-pass the JSON if no image is uploaded. I can't include that question as "Required" on the Form. How would I create a condition to by-pass the JSON if no image is uploaded?
Thanks!
Add a compose just prior to the Parse JSON and add the value you are trying to Parse. That way you can see the values that are being input into the Parse JSON statement. Something about those values doesn't match your schema.
So I gave that a try, and it still returns that same error
Manually change the Type setting in the schema from "string" to ["string", "null"]. This will let the Parse JSON accept the property even if its null.
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1