Forum Discussion
deryl1974
4 years agoFrequent Visitor
Export PDF from paginated report in c#
Hi All, I am trying to export a paginated report into pdf from c# application. Below is my code: private async Task<string> PostExportRequest(Guid reportId, Guid groupId) { try { var pagi...
AmosHersch
4 years agoMicrosoft Employee
Hi Lloyd.
I believe that in the URL "rdlreports" should be "reports" (same API URL for both power bi reports and paginated reports)
Can you please try with:
var _apiUrl = new Uri("https://app.powerbi.com/groups/<groupId>/reports/<reportId>/ExportTo");
Thanks
deryl1974
4 years agoFrequent Visitor
Hi AmosHersch,
I tried the below and got the same error.
var _apiUrl = new Uri("https://app.powerbi.com/groups/<groupId>/reports/<reportId>/ExportTo");
Thanks
Lloyd
- keegan4 years agoNew Member
HI Lloyd,
Did you have any luck with this one. I've started the same process and am getting the same error. My code is identical to yours.
Thanks
Keegan