So I know that there are tons of responses out there on this error but I am not finding the response I need or the fix I need so I am going to post this up under my specific situation.
I have a flow that goes against Dataverse and the idea is to pull and SSRS report, push it to a PDF, and then email said PDF. I found the steps here and they look legit: https://reenhanced.com/2021/download-dynamics-365-reports-as-a-pdf-with-power-automate/
So here is my problem. At the point of this process where I am downloading the PDF via the created URL is when I get the JSON error that I see here:
Looking at the failure, this is what I am seeing:
The URL that is being used in the GET request: /Reserved.ReportViewerWebControl.axd?ReportSession=xjjfwhifrwnz5d55nbsn1szz&Culture=1033&CultureOverrides=True&UICulture=1033&UICultureOverrides=True&ReportStack=1&ControlID=1914e4cf91924830ad0d0b63b1580b31&RSProxy=https%3a%2f%2fbn1700srs.nam.reporting.cds.dynamics.com%2freportserver&OpType=Export&FileName=MASB+Invoice&ContentDisposition=AlwaysAttachment&Format=PDF&rc:PrintOnOpen=true
I have attempted to use Headers in the HTTP GET request of Accept: */* and Accept: application/json. I have tried with both there and with each on their own.
What am I missing or what simple step is missing in this?
Thanks.
Jayson
Kind of forgot I had this question out there. I did find a workable solution for this. Turns out this pull can error out like this so the suggestion was "try again". Since this is an automated process, I put the pull into a Do While loop to run until successful. When it fails, historical tracking shows that it typically is within roughly 5 reattempts so I set my Do While to max out at 20 just in case. I set a variable to be incremented only when the process completes properly and that breaks the Do While.
I have the same problem !
did you found a solution?
thank you
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2