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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

POST API - Data.Format.Error

I have a POST API which works in Postman see below; 

Postman-snip.JPG

 

When I try and run this in Power BI Desktop (Get data, Web Service) I get the follwing error, 

 

PBI - snip.JPG

 

I tried the Text.ToBinary function but this was a wild guess. any suggestions would be greatly appricated,

 

Thanks 

Libr3  

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

This is now resolved, 

 

 

I got a friend who is a data scienties to Run this as an R script the issue was that the file was xml, the RScript flattend the report then he  rebuilt it as a JSON. - He said this was a nightmare task as R Scrip doesn't work to well XML and potentially doing it through Python would have been a better soultion - I don't know the exact details but if I can get them if anyone wants them. 

 

Dobby

View solution in original post

1 REPLY 1
Anonymous
Not applicable

This is now resolved, 

 

 

I got a friend who is a data scienties to Run this as an R script the issue was that the file was xml, the RScript flattend the report then he  rebuilt it as a JSON. - He said this was a nightmare task as R Scrip doesn't work to well XML and potentially doing it through Python would have been a better soultion - I don't know the exact details but if I can get them if anyone wants them. 

 

Dobby

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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