Forum Discussion
Exporting Power BI reports using APIs and Power Automate Error 502
'We' are trying to export some Power BI reports into Power point
It was tested successfully using a service user that has Admin access to the workspace where we have the reports
We have a solution that changes through time and we don’t know exactly which reports we need to export we need to have a way to dynamically export the reports.
We thought about doing this using a custom connector to iterate through the reports for the group:
https://learn.microsoft.com/en-us/rest/api/power-bi/reports/get-reports-in-group
and the calling the export for each of them:
https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group
now our issue is that when I build the custom connector to get the reports in group I’m getting a 502 error:
We are using Basic Authentication here using the same service user and in theory this is connected
Has anyone tried to connect to the Power BI APIs above using basic authentication and should this work?
4 Replies
- lbendlinSuper User
502 means internal server error. Either there was an ephemeral issue on the server, or your request is malformed in a way that you are crashing the server.
You say that the REST API sandbox tests work?