Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

502 Bad Gateway , on Flow thats been running fine for over a year, 13 days ago stops working

(0) ShareShare
ReportReport
Posted on by 130

So My flow archives work orders, creates a new list item, gets the attachments from the work order, adds them to the archived work order then deletes the work order, until 13 days ago, it worked fine.

 

bad gateway1.pngbad gateway2.png

 

 

 
  • v-bacao-msft Profile Picture
    v-bacao-msft on at
    Re: 502 Bad Gateway , on Flow thats been running fine for over a year, 13 days ago stops working

     

    Hi @Sighman ,

     

    Does the problem you mentioned still exist? I still cannot reproduce a similar issue here. Please consider contacting MS Support to assist you in solving this problem. Create a support request here: https://admin.powerplatform.microsoft.com/support

     

    Best Regards,

  • Sighman Profile Picture
    Sighman 130 on at
    Re: 502 Bad Gateway , on Flow thats been running fine for over a year, 13 days ago stops working

    I write a quick flow to pull an attachment from one list and attach to that list, it works fine.

    I rewrote my flow (3 times) againiagain fails with bad gateway. 

    I've tried many ways of doing this and it fails everytime.

    Doesn't make sense. Nothing has changed with that list, it worked fine until 2 weeks ago.

     

  • v-bacao-msft Profile Picture
    v-bacao-msft on at
    Re: 502 Bad Gateway , on Flow thats been running fine for over a year, 13 days ago stops working

     

    Hi @Sighman ,

     

    As far as I know, there seem to be no similar issues reported in the forum recently, and my test results here can also add attachments to the list item normally.

     

    Please check whether any changes have been made to the corresponding list or site.

     

    You can also try to create a simple Flow to test whether you can use Flow to add attachments to the list item.

     

    if it works, you could create a new Flow to solve this problem.

     

    Hope this helps.

     

    Best Regards,

  • Sighman Profile Picture
    Sighman 130 on at
    Re: 502 Bad Gateway , on Flow thats been running fine for over a year, 13 days ago stops working

    Hi,

     

    I've tried re writing the flow, it is NOT temporary it is failing 14 days straight, test will fail too.

    There is something that Microsoft has changed on the backend.

    A working flow for a year should not stop working overnight.

    There is some permissions error in the background, as if I make the folder for the list item in attachments it works.

    Error:

     

    Content-Type
    application/json
    Expires
    -1
    Body
    { "error": { "code": 502, "source": "canada-001.azure-apim.net", "clientRequestId": "c7050fee-864d-4499-adad-7d8e27936a7a", "message": "BadGateway", "innerError": { "status": 502, "message": "List data validation failed.\r\nclientRequestId: c7050fee-864d-4499-adad-7d8e27936a7a\r\nserviceRequestId: 1ae8579f-4055-a000-31bb-6486807bf3e9", "source": "https://********.sharepoint.com//_api/web/lists(guid'0820d7a3-13a0-488a-a529-987fbd5c725d')/Items(1741)/AttachmentFiles/AddUsingPath(decodedUrl=@f)?@f='Atmosphere+Air-CP+Rail-AC+4_6+-Apr2020.pdf'", "errors": [ "-2130575163", "Microsoft.SharePoint.SPListDataValidationException" ] } } }
  • v-bacao-msft Profile Picture
    v-bacao-msft on at
    Re: 502 Bad Gateway , on Flow thats been running fine for over a year, 13 days ago stops working

     

    Hi @Sighman ,

     

    Could you provide more details of the error message? Please make sure the list and site involved are valid.

    This seems to be a temporary error, please click or tap Resubmit to try the flow again.

    https://docs.microsoft.com/en-gb/power-automate/fix-flow-failures#other-failures

     

    In addition, you can try to use Save as to create a copy of Flow, and then test whether the new Flow can run normally.

    https://flow.microsoft.com/en-us/blog/make-a-copy/

     

    Best Regards,

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard

Featured topics