• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

BadGateway when using action to Generate PDF with Power Automate

New Here ,
Aug 14, 2023 Aug 14, 2023

Copy link to clipboard

Copied

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"
      }
    }
  }
}

 

 

Views

495

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

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.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 08, 2023 Sep 08, 2023

Copy link to clipboard

Copied

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"
      }
    }
  }
}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 18, 2023 Oct 18, 2023

Copy link to clipboard

Copied

Same problem here using Adobe OCR on scanned PDF documents.

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 18, 2023 Oct 18, 2023

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources