Forum Discussion

ozpbi123's avatar
ozpbi123
Regular Visitor
3 years ago
Solved

Exporting PDF/PPT with current state via API

Hello, Following instructions from other posts, I am attempting to export an embedded report into a PDF or PPT file with the current state of the report via the following:   1. When the user choos...
  • AmosHersch's avatar
    3 years ago

    Hi,

     

    I don't see what is missing, the bookmark state should be some base64 which Power BI tries to decodes. The error probably means something was wrong during decoding. Maybe try to see in the network traces how the state you're sending looks like. If it's not a base64 string then it wasn't captured/passed correctly.

    You can also try to apply the bookmark state using the Javascript API and see if it's valid.