Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

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

(0) ShareShare
ReportReport
Posted on by 345

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
    345 on at
    Re: Bad Gateway (error in action 'Convert Word Document to PDF)

    Yes 👍

  • Shalom_Oguntolu Profile Picture
    17 on at
    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
    345 on at
    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
    345 on at
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow