Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Janne1
New Member

Call Rest API from Power Bi / Power Query

Dear all,

 

I am facing the issue of the following error code:

'An error occurred in the " query.Expression.Error: The field 'XXX' of the record was not found.'

Janne1_0-1697620268343.png

and this is the code (from this website: https://powerplatformtrainings.com/2022/07/20/call-rest-apis-from-power-bi-power-query/)

Janne1_1-1697620374049.png

How can i get rid of the error code and continue building my Rest API connection with Power Bi.

Please help, Thxx

 

Janne1

 

 

 

 

1 REPLY 1
Anonymous
Not applicable

Hi @Janne1 ,

The error message you’re seeing, , typically occurs when Power Query tries to access a field in a record that doesn’t exist. To fix this issue, you need to ensure that the fields you’re trying to access do exist in the data you’re working with.
Please go to the Data step to check if the field [Result] exists.

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.