Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello,
I would like to submit an issue i'm encountering with the Power BI REST API.
We used to succesfully call "ExportToFileInGroup" route on our web app, and then it stopped working without changing code or updating the app core.
So i tested this route online with the "try it" function on documentation, and didn't manage to make it work on the first place with the usual post body:
{
"format":"PDF",
"powerBIReportConfiguration": {
"identities": [
{
"username":"xxx",
"roles":["xxx"],
"reports":["xxx"],
"datasets":["xxx"]
}
]
}
}
It returns a 400 error:
{
"error": {
"code": "InvalidRequest"
"message": "Export report was called with a bad request"
}
}
First weird thing, I tried modifying "powerBIReportConfiguration" property to the name of the class it's accepting, "PowerBIReportExportConfiguration".
It worked :
So then i tried the same EXACT SAME request in the webapp, but i'm getting a new error, even if it worked properly on "try it":
{
"error": {
"code": "InvalidRequest"
"message": "Export report requires effective identity to be provided for the report's dataset"
}
}
The dataset does require an identity, and it used to work. I can't tell exactly when it stopped working (some months ago).
I must say i'm hitting a deadend here, hope someone can lead me to the solution.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.