Forum Discussion

ms_query's avatar
ms_query
Frequent Visitor
1 year ago
Solved

404 Client Error - Export Report In Group

I'm working with PowerBi REST APIs. While trying to Export a report from the workspace I'm getting  '404 Client Error: Not Found for url: https://api.powerbi.com/v1.0/myorg/groups/my-workspace-id/r...
  • v-priyankata's avatar
    1 year ago

    Hi  ms_query 

    Thank you for using Microsoft Community Forum.

     

    When a report is cloned using the API or bound to a semantic model from another workspace, Power BI generates only metadata for the report in that workspace. No PBIX file is created or transferred in this process. This is why the report’s isFromPbix property is set to false.

    Because there’s no PBIX file stored behind these reports in the workspace, that is why we are getting 404 error.

    • Open the original report in Power BI Desktop and Publish it to your target workspace. that ensures the service has a true PBIX.

    • If you need a PBIX file to export, open the report in the Power BI Service, go to File > Download this file (PBIX), save it to your computer, and then re-publish it to the workspace. This will create a proper PBIX file in the workspace that you can then export.

     

    If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
    Thank you.