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 Apps / Dataverse Web API nest...
Power Apps
Answered

Dataverse Web API nested expand values returned are null

(0) ShareShare
ReportReport
Posted on by 559

Hello,

 

I have a web api query that has a nested expand. The query runs but the nested expand has no values. The only values that are returned from the nested expand records are the guid and the Primary Name Column. I tried removing all selects from my query but this did not resolve the problem. Any ideas? My nested expand is build us as Microsoft documentation explains (Only difference is my query is only 2 expands deep and the tables are custom tables). See code below.

 

GET [Organization URI]/api/data/v9.1/tasks?$select=subject
&$expand=regardingobjectid_contact_task($select=fullname;
 $expand=parentcustomerid_account($select=name;
 $expand=createdby($select=fullname))) HTTP/1.1 
Accept: application/json 
OData-MaxVersion: 4.0 
OData-Version: 4.0

 

 

Best Regards,

Anthony

I have the same question (0)
  • Verified answer
    Guido Preite Profile Picture
    1,490 Super User 2024 Season 1 on at

    it's a known "bug" the fact that expand of expand returns null attributes. The alternative is to create a FetchXML query and execute the FetchXML by the Web API

  • AnthonyD Profile Picture
    559 on at

    Any news if they are planning to fix this or has this been like this for a while?

  • Guido Preite Profile Picture
    1,490 Super User 2024 Season 1 on at

    I don't know if they consider it a bug or not in the first place, as you saw in the documentation there isn't (at least also to my knowledge) a place where they define that the expand of expand is possible, and if they consider as a bug I don't know their timeline to fix it.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,009

#2
11manish Profile Picture

11manish 672

#3
Valantis Profile Picture

Valantis 628

Last 30 days Overall leaderboard