Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Inconsistent failures with Send a HTTP request to SharePoint

(0) ShareShare
ReportReport
Posted on by 260

Hello

I am getting occasional failures to my flow, caused by the  Send a HTTP request to SharePoint connector

ConnM_0-1712054549991.png

The flow is doing a lot of things, but what's happening here is that a folder is being copied from a template area, and then the HTTP request is renaming it 

ConnM_1-1712054898375.png

Delay had been set to 30 seconds, I've upped it to 75 now, hopefully that will improve it

 

Error is "NotFound"

 

Any advice appreciated

  • ConnM Profile Picture
    260 on at
    Re: Inconsistent failures with Send a HTTP request to SharePoint

    Hey @Expiscornovus 

     

    Thanks for making me realise I had been over thinking this.

    I even went dumber and skipped the array. These folders are unlikely to change

    ConnM_0-1712308192420.png

     

    Much Appreciated

    Conn

  • ConnM Profile Picture
    260 on at
    Re: Inconsistent failures with Send a HTTP request to SharePoint

    Thanks @Expiscornovus 

     

    I'll give this a test this evening. At one point there were files in the folders, but they are now generated from a template and added in later

     

    I hope this is more consistent than the HTTP requests (and the Copy Folder actually, I've had BadRequests there too)

  • Verified answer
    Expiscornovus Profile Picture
    31,897 Most Valuable Professional on at
    Re: Inconsistent failures with Send a HTTP request to SharePoint

    Hi @ConnM,

     

    Do you only want to create those 5 folders or are there also subfolders nested within any of those 5 folders?

     

    You could for example try the below approach and see if that performs a bit better?

     

    subfolders_layout.png

  • ConnM Profile Picture
    260 on at
    Re: Inconsistent failures with Send a HTTP request to SharePoint

    Hi @Expiscornovus 

     

    Yes, the folder contains subfolders. This is a process that has to be done a couple times a week, and is monotonous.

    ConnM_0-1712140207701.png

    When I first started using flow, I had created folders, and then tried to create folders within that, and found the process very challenging then. I do believe this is the better option, but am welcome to hear other opinions

     

    Conn

     

  • Expiscornovus Profile Picture
    31,897 Most Valuable Professional on at
    Re: Inconsistent failures with Send a HTTP request to SharePoint

    Hi @ConnM,

     

    Out of interest, what is the reason you are copying a folder and renaming it afterwards and not just creating a new one instead?

     

    Are you also copying metadata and/or files/subfolders within that folder?

  • ConnM Profile Picture
    260 on at
    Re: Inconsistent failures with Send a HTTP request to SharePoint

    I think I'll just have to learn how to do try/catch error handling in SP. This process is not absolutely critical to be fully automated, I'll just deal with the failures

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492