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 / Null Value Error in Pa...
Power Automate
Suggested Answer

Null Value Error in Parse JSON

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello I receive the following error when running my flow.

 

Unable to process template language expressions in action 'Parse_JSON' inputs at line '1' and column '33823': 'Required property 'content' expects a value but got null. Path ''.'.

 

Below is my Parse JSON schema:

{
    "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"
        ]
    }
}
 
 

The flow is pulling picture attachments from a Microsoft Form and putting it into a sharepoint grid. I want it to allow a null value, but I'm not entirely sure how. There are multiple attachments from different forms questions. I am still fairly new to this, so any help would be appreciated. Thank you!

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,125 Most Valuable Professional on at

    The problem is that the value you are trying to Parse is null.  You need to put a condition in to evaluate the value before you feed it to the Parse JSON.  If the value is empty (null) then you need to bypass the parse JSON or use a Parse JSON that is using static content.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks Pstork1,

    Would you be able to elaborate a bit more on how to bypass the parse JSON if it is null?

     

  • Pstork1 Profile Picture
    69,125 Most Valuable Professional on at

    Put a condition before the Parse JSON action and test the input to see if its blank.  only execute the Parse JSON step if the input isn't blank.

    image.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am still receiving the same error message.

    COmike10_0-1608057814214.png

     

  • Suggested answer
    Hellen ramos Profile Picture
    12 on at
    Hey! 
    Try to modify your array like this:

    {
        "type""array",
        "items": {
            "type""object",
            "properties": {
                "name": {
                    "type": ["string","null"]
                },
                "link": {
                    "type": ["string","null"]
                },
                "id": {
                    "type": ["string","null"]
                },
                "type": {},
                "size": {
                    "type": ["integer","null"]
                },
                "referenceId": {
                    "type": ["string","null"]
                },
                "driveId": {
                    "type": ["string","null"]
                },
                "status": {
                    "type": ["integer","null"]
                },
                "uploadSessionUrl": {}
            }
        }
    }
     
    Every time you need to pass values that may be empty, you need to add the "null" type in the parse and remove the required part.
     
    Hope it helped!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard