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

Community site session details

Session Id : YfzH+m12oQ0GKgp2mJLeDy
Power Automate - Using Flows
Unanswered

Flow Checker 502 On Trigger

Like (0) ShareShare
ReportReport
Posted on 18 Feb 2021 04:37:11 by 7

I have a simple flow, with the trigger "When an item is created or modified". 


My flow updates the item, sets a flag to prevent an infinite update loop and updates permissions to protect sensitive information and allow access to appropriate support services.

 

After running a total of 13 times successfully, flow checker marks flags my flow has an Error, and my flow no longer triggers at all. I am aware that error 500 or 502 indicates a temporary error, but this has been occurring now for more than 24 hours, with significant business impact.

 

generic_name_0-1613622713595.png

 

Creating a flow that uses a manual trigger with the same actions is fine, and this is the work around the business has gone with short term. Although when this is a list that has 100's of submissions a day and requires very locked down permissions to protect sensitive information, manually triggering the flow is not a good solution and cannot be sustained. 

 

I have also created numerous test flows that have much simpler functionality, and after running successfully a handful of times, they all get flagged with the same issue by the flow checker. 


EDIT: This has been occurring consistently from 16 Feb 11:05AM (latest failure was 18th Feb 3:34PM)

  • Community Power Platform Member Profile Picture
    on 18 Mar 2021 at 14:05:37
    Re: Flow Checker 502 On Trigger

    Hello,

    We have the same problem: 502 Bad Gateway. Do you still have it ?

    Thanks!

    Steve

  • generic_name Profile Picture
    7 on 21 Feb 2021 at 22:37:14
    Re: Flow Checker 502 On Trigger

    Hi @anupam8555 

     

    I have cleaned out any identifying info (and collapsed all objects) from the output data when the list was last triggered. 

     

    "body": {
    	"@odata.etag": "\"1\"",
    	"ItemInternalId": "939",
    	"ID": 939,
    	"Title": "CLEANED",
    	"PlanCreationDate": "2021-02-16",
    	"PlanCreatedBy": {},
    	"PlanCreatedBy#Claims": "i:0#.f|membership|CLEANED",
    	"StudentFirstName": "CLEANED",
    	"StudentLastName": "CLEANED",
    	"StudentID": "XXXXXXXXXX",
    	"School": "CLEANED",
    	"StudentDOB": "2000-01-01",
    	"StudentYearLevel": {},
    	"StudentYearLevel#Id": 9,
    	"Consulted": [],
    	"Consulted@odata.type": "#Collection(Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference)",
    	"Consulted#Id": [],
    	"Consulted#Id@odata.type": "#Collection(Int64)",
    	"Created": "2021-02-16T04:04:11Z",
    	"Author": {
    	},
    	"Author#Claims": "i:0#.f|membership|CLEANED",
    	"StudentOptions": [{}],
    	"StudentOptions@odata.type": "#Collection(Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference)",
    	"StudentOptions#Id": [2],
    	"StudentOptions#Id@odata.type": "#Collection(Int64)",
    	"StartFlow": "Yes",
    	"Modified": "2021-02-16T04:04:11Z",
    	"Editor": {},
    	"Editor#Claims": "i:0#.f|membership|CLEANED",
    	"{Identifier}": "Lists%252fCLEANED%252f939_.000",
    	"{IsFolder}": false,
    	"{Thumbnail}": {
    		"Large": null,
    		"Medium": null,
    		"Small": null
    	},
    	"{Link}": "CLEANED",
    	"{Name}": "CLEANED",
    	"{FilenameWithExtension}": "CLEANED",
    	"{Path}": "Lists/CLEANED/",
    	"{FullPath}": "Lists/CLEANED/939_.000",
    	"{HasAttachments}": false,
    	"{VersionNumber}": "1.0"
    }

     


    I currently have an open ticket with microsoft regarding this issue. After trying a few of the 'temporary fixes' recommended by them, creating a new identical flow using the 'Save As' option results in a working flow. It is still unclear what is causing the initial issue. 

    generic_name_0-1613946988915.png

     


     

  • Anupam.khasia Profile Picture
    366 on 19 Feb 2021 at 17:21:18
    Re: Flow Checker 502 On Trigger

    Hi @generic_name ,

     

    Is it possible for you to post your structure of list vs raw input in the flow at 14th position where your flow is flagged with error ? 

     

    Thanks

    Anupam

  • generic_name Profile Picture
    7 on 18 Feb 2021 at 21:40:20
    Re: Flow Checker 502 On Trigger

    Hi all, thanks for the replies

    @annajhaveri I have one flow with a trigger condition as below,

    generic_name_0-1613684148358.png

    and a duplicate of that flow that uses an if condition to exit early, rather than a trigger.

    generic_name_1-1613684219607.png

    Both of these flows have the same error. This field definitely exists and contains data.

    @anupam8555 there have been no changes to the list structure for weeks, the failures started 2 days ago, so I am certain this is not related to structure. Unfortunately I only have the one environment to use. 

     

  • Anupam.khasia Profile Picture
    366 on 18 Feb 2021 at 16:26:36
    Re: Flow Checker 502 On Trigger

    Hi @generic_name ,

     

    Have you removed any columns from your list view but not removed from sharepoint action ? Based on error you are receiving this could be one of reason . Please check this. If this does not work I would suggest try changing your environment and see if it works on different environment. 

    anupam8555_0-1613665496983.png

     

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on 18 Feb 2021 at 09:21:45
    Re: Flow Checker 502 On Trigger

    @generic_name  are you using a trigger condition to avoid flow infinite loop? 

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading complete