Forum Discussion

pb11's avatar
pb11
Frequent Visitor
1 year ago

Unauthorized error when trying to export

Hi,

I’m encountering an “Unauthorized” error with the action ‘Export_To_File_for_Paginated_Reports’ in Power Automate. A different error message on the top states: “Action ‘Export_To_File_for_Paginated_Reports’ failed: The response is not in a JSON format.” which I believe is due to the Unauthorized statusCode 401 error.

Interestingly, when I use ‘Export To File for Power BI Reports’ for the report in the same workspace, it works without any issues. Both the Power BI report and the Paginated Report are based on the same semantic model.

I’m not sure why this discrepancy is occurring.



Thank you in advance for your assistance.

2 Replies