Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

error with flow - Action 'Parse_JSON' failed

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I have an error with my flow - Action 'Parse_JSON' failed:

Details:

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 ''.'.

 

Screenshot 2022-10-18 143304.png

 

It appears when a the file upload feature on the MS Form is not inputted, but as this question on the Form is optional we need this flow to work either when the file upload is present or not. 

 

Attached is a screenshot. 

 

Many thanks,

 

Andy

  • Teaquell Profile Picture
    on at
    Re: error with flow - Action 'Parse_JSON' failed

    Hey this did not work and I am still getting an error (see image below) I can provide my schema:

    {

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

        }
    }

     

    Thanks, 

    Andy

     

    Screenshot 2022-10-26 155142.png

     

  • Kaif_Siddique Profile Picture
    2,104 Super User 2024 Season 1 on at
    Re: error with flow - Action 'Parse_JSON' failed

    Hi @Teaquell 

     

    Try the below steps:

     

    Step1: Remove the Parse Json step and run the flow.

    Kaif_Siddique_0-1666103424014.png

     

    Step2: Copy the body from the Get response details output and paste to Parse JSON Schema.

    Kaif_Siddique_1-1666103602287.png

     

    Step3: Add Parse JSON and provide Schema.

    Kaif_Siddique_0-1666104029020.png

     

    Step4: Run the flow again

    Kaif_Siddique_1-1666104176168.png

     

    Let me know if this works for you.

     

    Regards

    Kaif

  • Sundeep_Malik Profile Picture
    6,480 on at
    Re: error with flow - Action 'Parse_JSON' failed

    Hey @Teaquell 

    Not sure this method will work in your case or not.

    But modify your parse json.

     

    Where ever you are getting error.

     

    Just modify somethings there.

    So for example, the following is written there:

    "type": "string"

    Instead of the above write there:

    "type": ["string","null"]

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow