Skip to main content
Community site session details

Community site session details

Session Id : 6xLb7RmSk8vrEoQ92JN8RS
Power Automate - Using Flows
Answered

Bad Gateway (error in action 'Convert Word Document to PDF)

Like (0) ShareShare
ReportReport
Posted on 21 Aug 2023 15:13:05 by 347

Hi all,

 

Hope somebody can help me.

 

I have a flow that converts a Word doc to a PDF, at one time. I get an error (Bad Gateway). See image below. I already deleted this action and the 'Create file' action that follows upon this one and set it up again. Didn't help.

 

Because I have more similar flows, I've tried another flow with exactly the same actions, that one runs fine. I've compared the steps from the flow that works fine with the error-steps - very precisely... Exactly the same.

 

What am I missing here?

 

Thanks in advance 🙏

 

Femke

 

1 Bad Gateway.png

 

 

 

 

 

Extra information

I thought of something. This flow is a copy of another flow. I used 'Save as' within the other flow, gave it a name and adjusted this flow, which is giving me this error now. Could that be the cause?

  • Femke1 Profile Picture
    347 on 23 Aug 2023 at 12:41:07
    Re: Bad Gateway (error in action 'Convert Word Document to PDF)

    Yes 👍

  • Shalom_Oguntolu Profile Picture
    17 on 23 Aug 2023 at 12:37:37
    Re: Bad Gateway (error in action 'Convert Word Document to PDF)

    Nice, so basically it works for both flows now right ?

  • Verified answer
    Femke1 Profile Picture
    347 on 23 Aug 2023 at 11:59:49
    Re: Bad Gateway (error in action 'Convert Word Document to PDF)

    I finally was able to fix it.

     

    The Word document that I used in the action 'Populate a Word document' turned out to have unreadable content...

     

    5 Bad Gateway.png

     

    My solution

    I made a new Word document. Then I also had to replace the actions in my flow (populate a Word document, create file (Word), convert a Word document to PDF, create file (PDF)). Deleted the old actions and everything works great now 🥳

  • Femke1 Profile Picture
    347 on 22 Aug 2023 at 06:17:56
    Re: Bad Gateway (error in action 'Convert Word Document to PDF)

    Update

    I've built a new flow all over again, started a new flow, copied some actions from the existing flow (but not the 'Convert Word Document to PDF' off course). Got the same error 🙄

     

    Update 2

    • I've tried a new connection; didn't work.
    • I've set up a test flow (manually) with just the 'Convert a Word document to PDF' step:
      • If I try it with the document, it gives me the same error.
      • If I try another document in the same folder, it says that the document doesn't exist.
      • If I try another Word document in another folder, it works perfectly.
    • So I deleted the folder and made a new folder (with the same name); gives me the same error.

     

    I'm clueless 😁

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Restore a deleted flow