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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Rest API Export Report In Group with response code 200 but no PBIX file

Hello, 

 

I am using the Export Report In Group API to extract the pbix file of a report. After indicating the group ID and the report ID I get back the the 200 as response code with just a non human readable JSON file in the body. 

Did something go wrong with the extraction or is there a use to such JSON file to obtain the pbix file? If there is, how could that be done?

 

3 REPLIES 3
lbendlin
Super User
Super User

That's not a JSON file, it's a ZIP file with a .pbix extension. You are supposed to pipe the output of the call into a local file, for example via curl -o <file> . Can't test that part in the sandbox.

Anonymous
Not applicable

I was indeed using the sandbox. Can you please indicate to me another approach on how to use the API to extract the pbix file? 

What's your weapon of choice? Is curl enough, do you want to do this via Powershell or maybe Power Automate?

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.