Skip to main content
Participant
August 14, 2023
Question

BadGateway when using action to Generate PDF with Power Automate

  • August 14, 2023
  • 3 replies
  • 1538 views

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 has been closed for replies.

    3 replies

    Participating Frequently
    October 18, 2023

    Same problem here using Adobe OCR on scanned PDF documents.

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

    Participating Frequently
    October 18, 2023

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

    Participant
    September 8, 2023

    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"
          }
        }
      }
    }
    trevorb86508897
    Participant
    August 17, 2023

    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.

     

    Participant
    August 17, 2023

    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