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 / GET HTTP Body - Empty ...
Power Automate
Unanswered

GET HTTP Body - Empty Object not coming through as null (or anything at all) using items() expression using SELECT Data Operation flow

(0) ShareShare
ReportReport
Posted on by

I access data via a HTTP action to a REST API service.

 

The HTTP response has an object which mostly has and Item "ProjectManager" and properties (ID,Name) but this can be empty - depending if a user has updated this on our cloud service or not.

 

I have performed "Parse Json" to the HTTP Body and attempted to use a SELECT Data operation flow to map the response before eventual movement of this to SQL server, but I get the following error:

 

The execution of template action 'Select' failed: The evaluation of 'query' action 'where' expression '{ "Project_ID": "@item()['ID']", "Project_Manager_ID": "@item()['ProjectManager']['ID']", "Project_Manager_Name": "@item()['ProjectManager']['Name']" }' failed: 'The template language expression 'item()['ProjectManager']['ID']' cannot be evaluated because property 'ID' doesn't exist, available properties are ''. Please see https://aka.ms/logicexpressions for usage details.'.

 

 

Sample response as follows:

 

[
    {
        "ID": 71571,
        "ProjectManager": {
            "ID": 123,
            "Name": "John"
        }
    },
    {
        "ID": 71250,
        "ProjectManager": {}
    },
    {
        "ID": 21286,
        "ProjectManager": {
            "ID": 569,
            "Name": "Ben"
        }
    },
    {
        "ID": 81250,
        "ProjectManager": {}
    },
    {
        "ID": 41818,
        "ProjectManager": {}
    }
]
 
jmc2408_0-1611747190588.png

 

I've tried to follow a few of the suggestions others who have had a similar issue with, making changes to the auto generated schema etc but nothing has work.  I'm by no means an expert so hopefully someone has a few ideas I could try?
 
Thanks
Categories:
I have the same question (0)

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 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard