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 / How to solve the probl...
Power Automate
Unanswered

How to solve the problem of this errormessage

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Errormessage:

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

 

About my workflow: 

1 - Microsoft Form is filled and if necessary a picture is uploaded

2 - If a picture is uploaded, the flow is running without problems, but if there are no picture uploaded i get this message

 

I have an idea how to solve the problem => with a condition (some steps would be duplicated by this: Subsequent steps)

is it possible to solve this problem more "professionally"?

 

 

Parse JSON:

{
    "type""array",
    "items": {
        "type""object",
        "properties": {
            "name": {
                "type""string"
            },
            "link": {
                "type""string"
            },
            "id": {
                "type": [
                    "string",
                    "null"
                ]
            },
            "type": {},
            "size": {
                "type""integer"
            },
            "referenceId": {
                "type""string"
            },
            "driveId": {
                "type""string"
            },
            "status": {
                "type""integer"
            },
            "uploadSessionUrl": {}
        },
        "required": [
            "name",
            "link",
            "id",
            "type",
            "size",
            "referenceId",
            "driveId",
            "status",
            "uploadSessionUrl"
        ]
    }
}

 

 

 

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @Anonymous 

     

     

    Try editing the Parse JSON schema 
     
    "type": "string"
     
    to
     
    "type": ["string","null"]
     
    Do the same for all other attributes which are optional.
     
    Thanks
     
     
     
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for the quick reply.
    Now I tried, but the problem with the new code was not solved:

     

    {
        "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": {}
            },
            "required": [
                "name",
                "link",
                "id",
                "type",
                "size",
                "referenceId",
                "driveId",
                "status",
                "uploadSessionUrl"
            ]
        }
    }
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @Anonymous 

     

    What's the error you getting?

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

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

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @Anonymous 

     

    See this thread.

     

    Solved: Parse JSON Error - Power Platform Community (microsoft.com)

     

    Let me know how you get on.

     

    Thanks

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks, this page helped a lot, only now I face another problem: Since I specify information about the image when uploaded, I bind the "body". Allerdingst there is then of course also an error message if no image is present

    Would be here ev. a solution to create an image (without name / link etc.)

     

    The execution of template action 'Microsoft_Forms_lädt_Datei_hoch_-_File_Name_muss_via_ParseJSON_ausgelesen_werden' failed: the result of the evaluation of 'foreach' expression '@body('Parse_JSON')' is of type 'Null'. The result must be a valid array.

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Could you add an IF condition to check not null before the Apply to each? A flow screenshot is more helpful.

     

    Thanks

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    an if condition solved the problem. Next time I'll ask right away with a screenshot.

    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 382

#2
Valantis Profile Picture

Valantis 370

#3
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

Last 30 days Overall leaderboard