I'm trying to export to a pdf file a power bi embedded report. I want to export current values that the user has selected. For that purporse the documentation advise to use this functionality Power BI Export in current state, when I use the let capturedBookmark = report.bookmarksManager.capture();
function this error shows to me:
message: "captureBookmarkFailed", detailedMessage: "Invalid bookmark request", level: 3.
So I was wondering if anybody had the same error and how did you solve it?