Skip to main content
Participant
Aug 14, 2023 7:52 PM UTC
Question

BadGateway when using action to Generate PDF with Power Automate

I have been using the Adobe plugin for MS Power Automate for over a year now but recently I have been getting more and more BadGateways on creating the PDF.

 

I am generating the PDF from a Word template and it works flawlessly but then get a random one that gives a BadGateway.

JSON is fine and output to SharePoint is fine.

If I resubmit the automation it works 100% of the time after, it sounds like the bad gateway is coming from the process of the conversion.

 

Has anyone else had this issue?

 

The workaround I currently have is to have a parallel line that if it fails it waits 30 secs then tries again but I'm guessing every time it fails it's using up one of my credits to run a second time.

{
  "error": {
    "code": 502,
    "source": "flow-apim-europe-001-westeurope-01.azure-apim.net",
    "clientRequestId": "a1af3c31-e9ba-4fcc-9147-24a1b19fe61b",
    "message": "BadGateway",
    "innerError": {
      "error": {
        "code": "INTERNAL_SERVER_ERROR",
        "message": "Unknown error performing transfer"
      }
    }
  }
}

 

 

    This topic is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    Participating Frequently
    Oct 18, 2023 2:31 PM UTC

    Same problem here using Adobe OCR on scanned PDF documents.

    In my case, it retries 8 times and still fails.

    Translate
    Participating Frequently
    Oct 18, 2023 3:06 PM UTC

    When I try rerunning the flow, it still fails...

    Translate
    Participant
    Sep 8, 2023 10:51 AM UTC

    Hi, We randomly gets the exact error creating pdf-files using Adobe dociument genreator API. Grateful for help to configure a working error handling in Power Automate

    /Christer

    {
      "error": {
        "code": 502,
        "source": "flow-apim-europe-002-northeurope-01.azure-apim.net",
        "clientRequestId": "a7635cef-010a-43d5-822b-d5aff5f37b2c",
        "message": "BadGateway",
        "innerError": {
          "error": {
            "code": "INTERNAL_SERVER_ERROR",
            "message": "Unknown error performing transfer"
          }
        }
      }
    }
    Translate
    trevorb86508897
    Participant
    Aug 17, 2023 11:00 AM UTC

    Hi, did you managed to get a solution to this?

    I am having the exact same problem. Although, I'm getting a bad gateway 100% of the time with the PDF to Word action.

     

    Translate
    Participant
    Aug 17, 2023 11:31 AM UTC

    Nothing yet.

     

    The only work around i have is using the parallel branching if on an error.

    Mine is only 5-10% of the time so the parallel is helping this error.

     

    I would say yours is a different issue if your getting it 100% of the time.
    Are you able to see if it works to a different location? maybe onedrive etc

    Translate