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 / Parse JSON error: "Bad...
Power Automate
Answered

Parse JSON error: "BadRequest. The 'from' property value in the 'select' action inputs is of type 'Null'. The value must be an array."

(0) ShareShare
ReportReport
Posted on by 55

Hello, 

 

I have seen a few of these questions but none with answers that work for me. 

Scenario: I am using this article to fetch SharePoint Search results when I get to the Parse JSON action, I get the error: The 'from' property value in the 'select' action inputs is of type 'Null'. The value must be an array."


pic1.PNG

 

Below, I check that Rows is of type Array so i am completely dumbfounded on why it says it is Null when there are the standard 10 results populating (see Row Count = 10). The Search is pulling data but i cannot get the rows to acknowledge the data.

 

pic2.PNG

 

This is the current Select Properties From line: body('Parse_JSON')?[PrimaryQueryResult']?[RelevantResults']?['Table']?['Rows']

I am also open to any other way to parse this JSON to get the search results. I do not have to use this article but i am wondering what i am doing wrong in general and open to learning.'

 

Thank you in advance, I will def select a correct answer on this i have been struggling for 3 days.

 

Schema :

{
    "type""object",
    "properties": {
        "odata.metadata": {
            "type""string"
        },
        "ElapsedTime": {
            "type""integer"
        },
        "PrimaryQueryResult": {
            "type""object",
            "properties": {
                "RelevantResults": {
                    "type""object",
                    "properties": {
                        "RowCount": {
                            "type""integer"
                        },
                        "Table": {
                            "type""object",
                            "properties": {
                                "Rows": {
                                    "type""array",
                                    "items": {
                                        "type""object",
                                        "properties": {
                                            "Cells": {
                                                "type""array",
                                                "items": {
                                                    "type""object",
                                                    "properties": {
                                                        "Key": {
                                                            "type""string"
                                                        }
                                                    },
                                                    "required": [
                                                        "Key"
                                                    ]
                                                }
                                            }
                                        },
                                        "required": [
                                            "Cells"
                                        ]
                                    }
                                }
                            }
                        },
                        "TotalRows": {
                            "type""integer"
                        },
                        "TotalRowsIncludingDuplicates": {
                            "type""integer"
                        }
                    }
                }
            }
        },
        "Properties": {
            "type""array",
            "items": {
                "type""object",
                "properties": {
                    "Key": {
                        "type""string"
                    }
                },
                "required": [
                    "Key"
                ]
            }
        }
    }
}
Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,830 Most Valuable Professional on at

    Hi @Highwaywoman1,


    What Headers did you use in the Send an HTTP request action?

     

    Also make sure you add those expressions via the expression tab in the Map field of your Select action. In your screenshot it looks like you have added the expressions as plain text for the Path and Title keys.

     

    Can you try it with the Headers like below?

    {
     "Accept": "application/json",
     "Content-Type": "application/json"
    }

     

    headers_check.png

  • highwaywoman Profile Picture
    55 on at

    @Expiscornovus  totally worked and you solved my issue of 3 days in 3 minutes. Can NOT thank you enough. The rest of the flow ran perfectly after that hold up. 

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 639

#2
Valantis Profile Picture

Valantis 392

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard