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 / Flow stopped working w...
Power Automate
Suggested Answer

Flow stopped working with an error

(1) ShareShare
ReportReport
Posted on by 6
Hello, 
 
My flow stopped working with following error: Action 'Parse_JSON' failed: 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 ''.'.
 
Flow has a MS Forms, where it's pulling answers and sending an automatic email. I believe the error I'm receiving is due to an optional question where user is allowed to upload file. When they upload document it's working as intended, but when they don't, I receive this email. 
 
Here's my Parse JSON:
{
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "name": {
                "type": "string"
            },
            "link": {
                "type": "string"
            },
            "id": {
                "type": "string"
            },
            "type": {},
            "size": {
                "type": "integer"
            },
            "referenceId": {
                "type": "string"
            },
            "driveId": {
                "type": "string"
            },
            "status": {
                "type": "integer"
            },
            "uploadSessionUrl": {}
        },
        "required": [
            "name",
            "link",
            "id",
            "type",
            "size",
            "referenceId",
            "driveId",
            "status",
            "uploadSessionUrl"
        ]
    }
}
 
I believe I need to add "null" to bypass it, but I'm unable to get it to work. 
Categories:
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at
    Hi 
     
    Could you use a condition to check whether that dynamic content is empty or null before using parse json action - may be that could helps ?
     
    Like below
     
    Hope this idea helps !
     
    Thanks & Regards,
    Nived N 
    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs
     Found my answer helpful? Please consider marking it as the solution!
     Your appreciation keeps me motivated. Thank you!

     
  • HP-20081726-0 Profile Picture
    6 on at
    I tried your suggestion but still receiving following error: InvalidTemplate
    Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'The template function 'outputsbody' is not defined or not valid.'.
     
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at
    Hi 
     
    The expression format is
     
    empty(outputs('Get_response_details')?['body/rghjkloyrfvjjkl'])
     
    where the highlighted parameter is the dynamic content of the response which has file upload details in your case. 
     
    Have you used same in ur case ?
     
     
  • HP-20081726-0 Profile Picture
    6 on at
    Hello, 
     
    Yes, I used dynamic content of the response from my form and not from your. After messing with it, I got past that error. However, I got same error as before with Parse JSON regarding null.
     
     Here's my condition parameters:

    I have two separate optional questions where file can be attached. 
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at
    Hi,
     
    You said that there are optional questions where file can be attached - so which question dynamic content u are passing in parse json then ?
     
     

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 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard