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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Repeated BadGateway Er...
Power Automate
Unanswered

Repeated BadGateway Errors in Run Script and Saving Flow

(0) ShareShare
ReportReport
Posted on by 498

I'm experiencing multiple BadGateway errors in Run Script connectors that normally work fine. This is usually a Microsoft server issue, not one that I can resolve locally. Please investigate.

 

{
  "error": {
    "code"502,
    "source""flow-apim-msmanaged-na-eastus-01.azure-apim.net",
    "clientRequestId""50d0fbcc-5ab3-4704-a3e3-1293eb79fb2f",
    "message""BadGateway",
    "innerError": {
      "message""Unexpected failure in request to Substrate\r\nclientRequestId: 50d0fbcc-5ab3-4704-a3e3-1293eb79fb2f",
      "storageErrorCode"1
    }
  }
}
 
jiwhite_0-1677019577810.png

 I can't even save a flow.

 

Flow save failed with code 'MultipleErrorsOccurred' and message 'The dynamic operation request to API 'excelonlinebusiness' operation 'GetSingleScript' failed with status code 'BadGateway'. Error response: { "error": { "code": 502, "source": "flow-apim-msmanaged-na-eastus-01.azure-apim.net", "clientRequestId": "5300210c-3f1a-49bc-ad27-64509ee37e9e", "message": "BadGateway", "innerError": { "status": 502, "message": "The server experienced an issue and couldn't complete the request. Please try again in a few moments.\r\nclientRequestId: 5300210c-3f1a-49bc-ad27-64509ee37e9e", "error": { "message": "The server experienced an issue and couldn't complete the request. Please try again in a few moments." }, "source": "excelonline-cus.azconn-cus-001.p.azurewebsites.net" } } };The dynamic operation request to API 'excelonlinebusiness' operation 'GetSingleScript' failed with status code 'BadGateway'. Error response: { "error": { "code": 502, "source": "flow-apim-msmanaged-na-eastus-01.azure-apim.net", "clientRequestId": "5300210c-3f1a-49bc-ad27-64509ee37e9e", "message": "BadGateway", "innerError": { "status": 502, "message": "The server experienced an issue and couldn't complete the request. Please try again in a few moments.\r\nclientRequestId: 5300210c-3f1a-49bc-ad27-64509ee37e9e", "error": { "message": "The server experienced an issue and couldn't complete the request. Please try again in a few moments." }, "source": "excelonline-cus.azconn-cus-001.p.azurewebsites.net" } } }'.

 

 

Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 258 Super User 2025 Season 2

#2
trice602 Profile Picture

trice602 205 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 204 Most Valuable Professional

Last 30 days Overall leaderboard