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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
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.