Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

[SharePoint] Action "update file properties" suddenly throws errors in multiple flows

(1) ShareShare
ReportReport
Posted on by 27

Hi, last week several of my flows started failing, and they all have in common that the error is thrown when a file is being updated in a SharePoint library. I noticed the same error with

1. The connector "Update file properties"

2. The connector "SharePoint HTTP request" when used to update a file's properties.

 

The error message is "The file <filename>.docx has been modified by <user ID> on <timestamp>. clientRequestId: <id> serviceRequestId: <id>"

 

The file is indeed created in the step just before, so maybe the previous action is not completed yet when the new action is run.

I have witnessed the same error in 2 flows now, and as this is typically an action performed at the end of a flow, I did not immediately notice it.

 

Any ideas on what has caused this to happen?

  • wskinnermctc Profile Picture
    wskinnermctc 6,512 on at
    Re: [SharePoint] Action "update file properties" suddenly throws errors in multiple flows

    You need to put some time delay after you create the file before updating it. Working with files from power automate is not instant, and can take up to 6 minutes in some cases.

    Excel Connector - Known Limitations 

    MS Word Connector - Known Limitations 

     

    Depending on the type of file being created, you could put a 1 or 2 minute delay after create file.

     

    Another thing to try which I believe helps is to Get File after creating the file. This doesn't necessarily offset the need for time between actions, but I think it helps.

     

    • Create File
    • Delay 1-6 Minutes
    • Get File
    • Update File Properties

     

    Just because it worked in the past is probably because there were less things in your environment or library, so maybe it was faster, but now needs extra time. Or you could've just been getting lucky. Either way, add delays to help give time for files to be created and updated.

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,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard

Featured topics