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 / The 'content' property...
Power Automate
Unanswered

The 'content' property of actions of type 'ParseJson' must be valid JSON. The provided value cannot be parsed: 'After parsing a value an unexpected character was encountered: I. Path '[0].Test', line 3, position 1.'.

(0) ShareShare
ReportReport
Posted on by 19

In a compose action I get the below JSON values [array] as output and as a next step I use apply to each action by selecting "result" property and then within the loop,  I use ParseJSON action to select property (u_json_inputdata) in order to get "RequestDefaultUser" & "BusinessJustification". What happens here is, flow runs fine but within the loop one of the values failing with this error "The 'content' property of actions of type 'ParseJson' must be valid JSON. The provided value cannot be parsed: 'After parsing a value an unexpected character was encountered: I. Path '[0].BusinessJustification', line 3, position 1.'."  please support

 

 

{
 "result": [
 {
 "u_executiontarget": "",
 "u_planneddatetime": "",
 "sys_import_state_comment": "",
 "template_import_log": "",
 "sys_updated_on": "2023-02-16 08:12:16",
 "u_test": "",
 "sys_class_name": "u_ih_job_queue",
 "sys_target_sys_id": "",
 "u_targetapplication": "",
 "sys_id": "a51a1aed87092d10bc0784030cbb35c5",
 "sys_updated_by": "",
 "u_target_record": {
 "link": "",
 "value": "0e0a16ed87092d10bc0784030cbb3527"
 },
 "u_retry": "",
 "sys_created_on": "2023-02-16 08:12:16",
 "sys_import_set": {
 "link": "",
 "value": "ed1a1aed87092d10bc0784030cbb35c5"
 },
 "sys_transform_map": "",
 "u_status": "Pending",
 "sys_created_by": "",
 "sys_import_row": "0",
 "u_sub_status": "",
 "sys_row_error": "",
 "u_job_id": "1060",
 "sys_target_table": "",
 "sys_mod_count": "0",
 "import_set_run": "",
 "sys_tags": "",
 "u_executeddatetime": "",
 "sys_import_state": "pending",
 "u_json_returndata": "",
 "u_json_inputdata": "[{\"RequestDefaultUser\":\"user@contoso.com\",\"BusinessJustification\":\"\"}]"
 }
 ]
}

 

 

 

 

 

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

    Hi @SWO-Sujithkumar 

     

    I tried the below and worked as expected. 

     
    I have used your sample in the second action step called Sample JSON Data.
     

     

    image.png

     

    Above Parse JSON is as follows:

     

    {
        "type""object",
        "properties": {
            "result": {
                "type""array",
                "items": {
                    "type""object",
                    "properties": {
                        "u_executiontarget": {
                            "type""string"
                        },
                        "u_planneddatetime": {
                            "type""string"
                        },
                        "sys_import_state_comment": {
                            "type""string"
                        },
                        "template_import_log": {
                            "type""string"
                        },
                        "sys_updated_on": {
                            "type""string"
                        },
                        "u_test": {
                            "type""string"
                        },
                        "sys_class_name": {
                            "type""string"
                        },
                        "sys_target_sys_id": {
                            "type""string"
                        },
                        "u_targetapplication": {
                            "type""string"
                        },
                        "sys_id": {
                            "type""string"
                        },
                        "sys_updated_by": {
                            "type""string"
                        },
                        "u_target_record": {
                            "type""object",
                            "properties": {
                                "link": {
                                    "type""string"
                                },
                                "value": {
                                    "type""string"
                                }
                            }
                        },
                        "u_retry": {
                            "type""string"
                        },
                        "sys_created_on": {
                            "type""string"
                        },
                        "sys_import_set": {
                            "type""object",
                            "properties": {
                                "link": {
                                    "type""string"
                                },
                                "value": {
                                    "type""string"
                                }
                            }
                        },
                        "sys_transform_map": {
                            "type""string"
                        },
                        "u_status": {
                            "type""string"
                        },
                        "sys_created_by": {
                            "type""string"
                        },
                        "sys_import_row": {
                            "type""string"
                        },
                        "u_sub_status": {
                            "type""string"
                        },
                        "sys_row_error": {
                            "type""string"
                        },
                        "u_job_id": {
                            "type""string"
                        },
                        "sys_target_table": {
                            "type""string"
                        },
                        "sys_mod_count": {
                            "type""string"
                        },
                        "import_set_run": {
                            "type""string"
                        },
                        "sys_tags": {
                            "type""string"
                        },
                        "u_executeddatetime": {
                            "type""string"
                        },
                        "sys_import_state": {
                            "type""string"
                        },
                        "u_json_returndata": {
                            "type""string"
                        },
                        "u_json_inputdata": {
                            "type""string"
                        }
                    },
                    "required": [
                        "u_executiontarget",
                        "u_planneddatetime",
                        "sys_import_state_comment",
                        "template_import_log",
                        "sys_updated_on",
                        "u_test",
                        "sys_class_name",
                        "sys_target_sys_id",
                        "u_targetapplication",
                        "sys_id",
                        "sys_updated_by",
                        "u_target_record",
                        "u_retry",
                        "sys_created_on",
                        "sys_import_set",
                        "sys_transform_map",
                        "u_status",
                        "sys_created_by",
                        "sys_import_row",
                        "u_sub_status",
                        "sys_row_error",
                        "u_job_id",
                        "sys_target_table",
                        "sys_mod_count",
                        "import_set_run",
                        "sys_tags",
                        "u_executeddatetime",
                        "sys_import_state",
                        "u_json_returndata",
                        "u_json_inputdata"
                    ]
                }
            }
        }
    }
     
     
    image.png
     
    Above Parse JSON is as follows:
     
    {
        "type""array",
        "items": {
            "type""object",
            "properties": {
                "RequestDefaultUser": {
                    "type""string"
                },
                "BusinessJustification": {
                    "type""string"
                }
            },
            "required": [
                "RequestDefaultUser",
                "BusinessJustification"
            ]
        }
    }
     
     
    image.png
     
    Here is my run result:
     
    image.png
     
     
    Above RequestDefaultuser returned user@contoso.com
     
    and BusinessJustification returned blank
     
    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

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard