web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Random 502 - Bad gatew...
Power Automate
Unanswered

Random 502 - Bad gateway errors

(0) ShareShare
ReportReport
Posted on by 2

Hello !

 

I noticed several times (1 last week and 1 today) that a Flow working perfectly for months suddenly crash with a 502 error.

It happens with the "Convert file" action and after around 8h crashing, it goes back to normal.

Does someone have the same error ? Anything I can do on my side except waiting ? 

 

Here is the detail of the error :

 

 

{
 "error": {
 "code": 502,
 "source": "flow-apim-europe-001-westeurope-01.azure-apim.net",
 "clientRequestId": "f1e9df1b-79bf-4103-a9d1-2f420fbe2c1a",
 "message": "BadGateway",
 "innerError": {
 "status": 502,
 "message": "Error from Office Service. Url=https://excelcs.officeapps.live.com/document/export/pdf HttpCode=InternalServerError cert=subject:;thumbprint: ResponseHeaders=Transfer-Encoding: chunked\r\nX-ErrorCode: XLSUnknown\r\nX-ErrorCategory: Fatal\r\nX-ClientCorrelationId: f1e9df1b-79bf-4103-a9d1-2f420fbe2c1a\r\nX-ServiceCorrelationId: f1e9df1b-79bf-4103-a9d1-2f420fbe2c1a\r\nX-IsRetriable: False\r\nX-ConversionTimeInMs: 4671.8717\r\nX-FileDownloadTimeInMs: 328.1182\r\nCache-Control: private\r\nDate: Fri, 15 May 2020 10:35:31 GMT\r\nServer: Microsoft-IIS/10.0\r\nX-AspNet-Version: 4.0.30319\r\nX-Powered-By: ASP.NET\r\n",
 "source": "api.connectorp.svc.ms"
 }
 }
}

 

 

Thanks,

Alexis

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,998 Most Valuable Professional on at

    Hi @AlexisSouquiere 

     

    Do you have a create file action before the convert file action step? If it is then add a delay action for a minute and execute the convert file action step. 

     

    Thanks

  • AlexisSouquiere Profile Picture
    2 on at

    Hello,

     

    Yes I have but IMO a problem (or delay) with the file creation would generate a 404 - Not found error and not a 502 error.

    Friday afternoon everything goes back to normal like last week and few months ago.

     

    Do you think it can be related to a Microsoft upgrade on Flow ?

     

    Alexis

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard