Forum Discussion

gotters's avatar
gotters
Resolver I
2 years ago
Solved

Get Report Definition (Fabric API) - broken png

We are currently using the Get Report Definition endpoint on Fabric API to create Power BI Project files that we can then open with Power BI Desktop.

The process works very well except that we recently discovered that the custom images that are returned in the payload of the report definition seem to be broken.  We base64 decode these files and the png no longer works. As a result all report icons in PBI Desktop are broken.

 

Has anyone else worked with this or have any insight into this?

Below is a sample response from one of our reports.

Thanks

Moshe

 

 

  • Hi gotters , 

    Actually that's a known issue with the API, I believe it will be fixed about a month from now.

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi gotters,

    It seems like fabric use other type of encryption/encode these image contents so that the common base64 format not works to be recognized them on power bi side. Perhaps you can try contact to the dev team to confirm which encode they used to encryption these data.

    Regards,

    Xiaoxin Sheng

  • AmosHersch's avatar
    AmosHersch
    Microsoft Employee

    Hi gotters , 

    Actually that's a known issue with the API, I believe it will be fixed about a month from now.

    • gotters's avatar
      gotters
      Resolver I

      Thanks Amos. Unhappy to hear that its a bug - was hoping I just needed a different decode process as per the comment below - but happy to hear it should be fixed.

      Thanks for letting me know

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi any news about this issue still need to decode these images