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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Error downloading csv file using REST API

I am trying to download a paginated report output as CSV using the REST APIs. I can successfully download the report results as PDF however it is not working when I am choosing to download the information as CSV. I suspect I might not be passing in the right values in the PaginatedReportExportConfiguration parameter.

 

I am first calling 'Export to File in Group' using the Group Id and Report ID as shown below:

KaushalV_0-1687413014586.png

 

I then check the status which shows the status of Succeeded.

KaushalV_1-1687413098655.png

Then I try to download the file, but I get this error 418 - Unsupported file type returned by PowerBI

KaushalV_2-1687413235007.png

 

The report is hosted in a Premium workspace. I am calling the APIs from a third party application by Appian. When I make this same calls from the Learn.Microsoft.Com REST API, it works. Any idea what is the problem with my calls?

 

 

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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