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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
pc150
New Member

Export To File Api not working

While using this api

"POST https://api.powerbi.com/v1.0/myorg/reports/{reportId}/ExportTo"

 

{
    "error": {
        "code": "InvalidRequest",
        "message": "Report requested for export is not on dedicated capacity"
    }
}

 

I am getting this error currently i have pro account 
Is this is the case of pro or premium account or something else 
Please help regarding this 
Thonkyou

2 REPLIES 2
ibarrau
Super User
Super User

Hi. Sadly, even if we check the code it won't work. The report you're exporting must reside on a Premium or Embedded capacity.

You can read the considerations for exporting with API in here: https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-to#considerations-and-limitatio...

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

As you mentioned it reside on a Premium or Embedded capacity so is it possible to get Embedded capacity with pro account 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors