Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Sales forum / 302 (The response is n...
Sales forum
Unanswered

302 (The response is not in a JSON format) error in Power Automate for SSRS report

Posted on by 5

Hi,

I have created a flow to send SSRS report in PDF format. However, I'm getting the below error with HTTP GET request to download the PDF.

{
  "error": {
    "code"302,
    "message""The response is not in a JSON format."
  }
}
pastedimage1667477885966v1.png
Can anyone please help me with any links/videos to fix the issue apart from these.
  1. Using Dynamics 365 Reports as a PDF in Power Automate - YouTube
  2. Download Dynamics 365 Reports as a PDF with Power Automate » reenhanced
  3. Download SSRS report as a PDF with Power Automate - Part 1 - CloudFronts
Thanks in advance.
Categories:
  • kvp_patel Profile Picture
    kvp_patel 215 on at
    302 (The response is not in a JSON format) error in Power Automate for SSRS report

    Hello Everyone,

    I'm also facing same issue if you have resolved it could you help me out?

    Thanks in advance

  • Suggested answer
    Ryan Blaikie Profile Picture
    Ryan Blaikie 2 on at
    302 (The response is not in a JSON format) error in Power Automate for SSRS report
    Hi there,
     
    I also encountered this issue on this step when following the linked blog post. I noticed that the error was intermittent and not due to any problem in the request itself; sometimes it would fail and sometimes it would succeed without any apparent rhyme or reason. In my case I used a 'Do until' step combined with a try/catch scope and a flag marking the outcome to repeat the action until it is successful:

     
     
     
             
     
    This has resolved the issue for me. Cheers
  • Tapaswini Sabat Profile Picture
    Tapaswini Sabat 5 on at
    RE: 302 (The response is not in a JSON format) error in Power Automate for SSRS report

    Hi Abdul Wahab,

    The error is with Download PDF.

    Please do let me know if any further information is required.

    Thanks in Advance

  • Abdul Wahab Profile Picture
    Abdul Wahab 12,068 Super User on at
    RE: 302 (The response is not in a JSON format) error in Power Automate for SSRS report

    Hi Tapaswini Sabat,

    May I know the exact component on which you are experiencing this error?

    Is it?

    CRM Report Viewer?

    .....

    Download PDF?

  • Chaitali12 Profile Picture
    Chaitali12 5 on at
    RE: 302 (The response is not in a JSON format) error in Power Automate for SSRS report

    Hello,

    Struggling with the same issue if you have resolved it could you help me out?

    Thanks in advance

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,773 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,513 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans