Forum Discussion
Report export through api as pbix file
API request failed with status code: 404
Error response content: {'error': {'code': 'ExportPBIX_ModelessWorkbookNotFound', 'pbi.error': {'code': 'ExportPBIX_ModelessWorkbookNotFound', 'parameters': {}, 'details': []}}}
I am getting this error while exporting reports from power bi service throgh Power bi APIs, what can me the solution for this?
3 Replies
- ibarrauSuper User
Hi. You could provide more details about how you are doing that. The error it's a "Not found" one. That means the item you are looking for is not there or it doesn't exists. For example, you could be providing a wrong ID at the url.
I hope that helps,
- vijay_brockNew Member
Thanks for the response ibarrau ,
I am a pro user, I have created on report as auto create report in power bi service.
I think thats the reason it is not expporting.
And i have an another questionthis is what actually happening for another reports, i am getting the list od reports and their ids and names, i am passing the to the export api to get the reports as pbix files, then i am getting that error.
could you help me with this.- ibarrauSuper User
That picture is actually a different error! Let's see. There are some scenarios that the API won't allow the export. Those are the same as the "download". You can read the following doc to check it:
In addition, an auto created report can't be downloaded/exported. I can confirm you can't download that one.
For the other scenarios check the limitations.
I hope that helps,