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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
disqodave
New Member

Rest API expression error on only some records

Hi,

 

I am using a Rest API call to get project story card data. I am unable to determine why PowerQuery returns an expression error for some records but not others. I have no issue returning data using the browser. Here are two examples, both of which return data in the browser but only one works in PowerQuery:

 

Example 1 (Works fine) - https://www.pivotaltracker.com/services/v5/projects/2632184/stories/184768712/reviews

Example 2 (expression error) - https://www.pivotaltracker.com/services/v5/projects/2632184/stories/185413293/reviews

 

An error occurred in the ‘’ query. Expression.Error: The column 'Column1' of the table wasn't found.
Details:
Column1

 

Please help!

 

1 REPLY 1
ImkeF
Community Champion
Community Champion

Hi @disqodave ,
that must have something to do with your M-Code. The way you extract the data after you have imported works for the first example and not for the 2nd. 
This could for example be the case if your reference items in example 1 that are not included in example 2.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors