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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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