cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
DodgeHo Helper I
Helper I

Flows stops because of Bad Gateway 502 Error

Hi, few days ago my flows still work fine but after I tried to make changes on Azure Active directory to let people outside my organisation can sign in to Planner, all the Power Automate flows stoped.
For example, one of my flow cannot create attachment files in sharepoint.

Screen Shot 2020-03-30 at 10.07.25 AM.png

{
  "error": {
    "code"502,
    "source""asia-001.azure-apim.net",
    "clientRequestId""3522a0af-660c-47cf-9f0e-34845cdd06bd",
    "message""BadGateway",
    "innerError": {
      "status"502,
      "message""Cannot create folder \"sites/ShippingTeam/Shared Documents/Shipping Estimation Doc/2020-03-26T08:23:48Z\".\r\nclientRequestId: 3522a0af-660c-47cf-9f0e-34845cdd06bd\r\nserviceRequestId: 72c6429f-c0b4-0000-3a29-18fa2fb6b433;72c6429f-a0ba-0000-3a29-11ba5c26dbe1;72c6429f-80bd-0000-3a29-1d0a326dba54",
      "errors": [
        "-2130247165",
        "Microsoft.SharePoint.SPException"
      ]
    }
  }
}
 
I am not sure if it is because of my updates in Azure active directory or not.
I followed the below video to make changes, it said it will take 24 hours for my changes to take effect but it has been 5 days since my flows stop.
 
From my backend it said the Azure AD connection is not enabled, is it what cause the issue?
Screen Shot 2020-03-30 at 10.29.20 AM.png
Please help😓
1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Flows stops because of Bad Gateway 502 Error

Hi @DodgeHo ,

 

I couldn't find any issue in your flow, and if the error code 502 appears, the failure is temporary or transient.

I suggest that you could contact Microsoft for support if you want to solve the problem quickly.

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Community Support
Community Support

Re: Flows stops because of Bad Gateway 502 Error

Hi @DodgeHo ,

 

Could you please share the full screenshot of the configuration of your flow and the Create file action?

Could you please enable the Azure AD connection to see if the issue could be solved?

Or please take a try to create a new flow to see if the issue still exists?

 

Have your problem been solved?  If yes, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

DodgeHo Helper I
Helper I

Re: Flows stops because of Bad Gateway 502 Error

Hi, @v-alzhan-msft 

 

Here are my screens. May I know how to enable Azure AD connection?

screen_01.jpg

 

screen_02.jpg

 

screen_03.jpg

 

screen_04.jpg

 

screen_05.jpg

 

screen_06.jpg

 

screen_07.jpg

 

Community Support
Community Support

Re: Flows stops because of Bad Gateway 502 Error

Hi @DodgeHo ,

 

I want to see the screenshot of the flow instead of the run history of the flow.

 

And have you take a try to create a new flow?

 

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

DodgeHo Helper I
Helper I

Re: Flows stops because of Bad Gateway 502 Error

@v-alzhan-msft , sorry for the misunderstanding.

This is actually a new flow that I recreate.

 

screen_01.jpg

 

screen_02.jpg

 

screen_03.jpg

 

screen_04.jpg

 

screen_05.jpg

 

Community Support
Community Support

Re: Flows stops because of Bad Gateway 502 Error

Hi @DodgeHo ,

 

I couldn't find any issue in your flow, and if the error code 502 appears, the failure is temporary or transient.

I suggest that you could contact Microsoft for support if you want to solve the problem quickly.

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

DodgeHo Helper I
Helper I

Re: Flows stops because of Bad Gateway 502 Error

@v-alzhan-msft Thank you so much for your reply.
I am trying to find a support from Microsoft but since my Office 365 plan is purchased from Godaddy.
I can't even contact Microsoft support agent. Could you help tell me how can I get helps from Microsoft?

Thank you.

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (5,526)