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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Action 'Parse_JSON' fa...
Power Automate
Suggested Answer

Action 'Parse_JSON' failed

(2) ShareShare
ReportReport
Posted on by 8
Hello,

I have a flow that allows me to take documents uploaded in a Mircosoft Form and send them in an email as an attachment. The flow runs successfully when an attachment is uploaded but if none are uploaded, I get the following error. I would like the flow to run even if no documents are uploaded, but I am a novice with Power Automate and unsure what I need to add to allow this to happen. 

This is the error I get when no upload is attached: 
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 ''.'.
 
Categories:
I have the same question (0)
  • David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    For the one that failed, the error message is saying there was no data passed to the parse JSON action. You can add a compose action before it and put the content that you have in the parse JSON action there and run the flow. Then make sure the compose action shows valid JSON has passed through.
  • KZ257 Profile Picture
    8 on at
    I tried adding the compose before the parse JSON and it said the expression is invalid. I'm not sure what should actually be entered in the inputs for the compose. 
  • Suggested answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at
    Hi
     
    Add an IF condition above the Parse JSON action step then map the UploadedLease field. Make the condition as Not equal to as operator. Then on the right hand side leave it blank. Under then Yes condition move the Parse JSON step.
     
    The error is because you a non-mandatory upload file question in your form. By checking the above is to make sure the file is uploaded or not?
     
    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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard