cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ericonline
Community Champion
Community Champion

Send HTTP Request to Sharepoint: Delete File Action Fails Intermittently (Status 401: Unauthorized)

I have a Flow that runs 2x/hr so it gets lots of action. One of the Actions is to delete old image files in a Sharepoint on-prem doc library. This action fails intermittently with no clear reason why.

How do I troubleshoot and fix this?

Example:

- DELETE_old_image action has 77 iterations in a loop

- Iteration 1-7 work just fine

ericonline_0-1631637379000.png

- Iteration 8-16 fail with "Unauthorized"

ericonline_2-1631637457401.png

- Iteration 17-77 work just fine

ericonline_1-1631637402805.png

 

Why is this happening and how do I fix it?

0 REPLIES 0

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (2,598)