cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Intermittent flow failures

My flow had unusual number of failures last week all of which were intermittent. Most of the error messages refer to 401, Service Unavailable. These failures seems to be resolved when I hit resubmit button. My Flow looks like this:

When a new response is submitted
Get response details

Populate a Microsoft word template

create a file (one drive)

convert a file (to pdf)

create a file (SharePoint)

send an email

 

Flow is failing at "create a file" step.

 

Any help would be appreciated.

Failure messageFailure messageFlowFlow

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Intermittent flow failures

Hi @pantaniroj,

 

You could consider putting the Create file action into a Do Until action, then at the condition for end the loop of Do until, append the following expression:

@equals(outputs('Create_file')?['statusCode'], 200)

If the statusCode of Create file is 200, it means create file successfully, loop out Do until, if the statusCode not equal to 200, wait for 1 minute, then try to create file again.

Annotation 2019-11-14 170344.png

To keep the following action could run after sometimes the Do until will failed, you should configure run after, to make next action could continue run when the previous action failed.

Annotation 2019-11-14 170852.png

 

Best Regards,
Community Support Team _ Lin Tu
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

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Intermittent flow failures

Hi @pantaniroj,

 

It seems that OneDrive's service was erratic last week, and you can keep watching for a while to see if this continues to happen.
For a failed Flow run, you can click the Resubmit to make it run again:
Annotation 2019-11-07 111431.png

 

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

Highlighted
Frequent Visitor

Re: Intermittent flow failures

Hi@v-litu-msft

 

I generally receive around 300 form submission every week which has to be emailed back to the sender in a predefined template. Hence, flows!

 

While resubmitting the flow does help in case of a few failed flows, it isn't a durable solution when a number of flows (almost 80%) are failing. I am still having problems with Onedrive service this week. 

 

Any tips to handle these failed flows would be much appreciated. 

 

 

 

 

Highlighted
Community Support
Community Support

Re: Intermittent flow failures

Hi @pantaniroj,

 

You could consider putting the Create file action into a Do Until action, then at the condition for end the loop of Do until, append the following expression:

@equals(outputs('Create_file')?['statusCode'], 200)

If the statusCode of Create file is 200, it means create file successfully, loop out Do until, if the statusCode not equal to 200, wait for 1 minute, then try to create file again.

Annotation 2019-11-14 170344.png

To keep the following action could run after sometimes the Do until will failed, you should configure run after, to make next action could continue run when the previous action failed.

Annotation 2019-11-14 170852.png

 

Best Regards,
Community Support Team _ Lin Tu
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

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new 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!

Users online (9,563)