Skip to main content
Participant
March 16, 2022
Question

Logic Apps PDF Services Timeouts

  • March 16, 2022
  • 1 reply
  • 508 views

We are seeing intermittent but recuring 502 Bad Gateway errors returned when using Logic Apps to convert documents to PDF. Microsoft Support have confirmed the Logic Apps end is working as expected and their internal logging is seeing the return code as a 500 error.

 

When the 500/502 errors occur the logic app is retrying 4 times (default) and timing out after approx. 7 minutes.

 

The same logic app run seconds later (with the same inputs i.e. same document to convert) will return a converted DPF document in approx. 10 seconds.

 

{

  "error": {
    "code"502,
    "source""logic-apis-australiasoutheast.azure-apim.net",
    "clientRequestId""XXXXXXXXX",
    "message""BadGateway",
    "innerError": {
      "error": {
        "code""OperationException",
        "message""The operation has timed out, please try after some time.; transactionId=XXXXXXXX-PowerAutomate"
      }
    }
  }
}
    This topic has been closed for replies.

    1 reply

    Participant
    June 2, 2023

    Hi,

     

    I am seeing the same issue, we had this service interruption very rarely before (maybe once or twice a month), but since 2 days ago this was bad, maybe only 10% word to PDF case was a success under 12 seconds, the rest is either very long as in minutes or just failed after Logic App retried few times and receive a 500 Internal Server Error message.

     

    Did you manage to figure out what went wrong?

     

    Best regards,
    Dita