Hi All, I have created a flow to Export to File for PowerBi Reports in pdf format. I am getting the below error :
The "Content-Type": "application/json", its usually generates as "Content-Type": "application/pdf", Please help me how to correct this error. I have verified PowerBi source credentials created using Microsoft account and Organizational.
{
"statusCode": 400,
"headers": {
"Pragma": "no-cache",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Frame-Options": "deny",
"X-Content-Type-Options": "nosniff",
"RequestId": "e0205f77-e065-4ae8-91d3-941bb5c8dfbc",
"Access-Control-Expose-Headers": "RequestId",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "true",
"x-ms-apihub-obo": "false",
"Cache-Control": "no-store, must-revalidate, no-cache",
"Date": "Fri, 18 Aug 2023 18:31:56 GMT",
"Content-Length": "116",
"Content-Type": "application/json"
},
"body": {
"error": {
"code": "InvalidRequest",
"message": "Export report was called with a bad request"
}
}
}
Hi @titanic123
Could you share how you have configured the action properties for to use in flow ?
Also refer these links :
I hope this would help you in resolving the error 🙂
Nived N 🚀
LinkedIn: Nived N's LinkedIn
YouTube: Nived N's YouTube Channel
🔍 Found my answer helpful? Please consider marking it as the solution!
Your appreciation keeps me motivated. Thank you! 🙌
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2