cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jasa88
Regular Visitor

Excel update row not working?

Hello,

I'm not sure what I'm doing wrong but I want a Flow that will create a new row on an Excel table, and then later in the flow update the same row with new information. However, I keep the same error no matter what I do:

" "status": 423,
"message": "Cannot write file to filesource. File is being locked."

 

Any idea's what I'm doing wrong?

4 REPLIES 4
v-yuazh-msft
Community Support
Community Support

Hi @ jasa88,

Could you please share a screenshot of the configuration of your flow?

Which action have run failed in your flow?

 

The error message told that the file is being locked and cannot write file to it.

Please check if the excel file is opening when the flow runs.

 

I have made a test on my side, and don’t have the issue that you mentioned, the configuration of my flow as below:

1.png

The flow would run successfully as below:

 2.png

 

 

Regards,
Alice Zhang

 Hello,

I tried building a flow exactly the same as yours but it still doesn't work. I even tried inserting a delay between inserting and updating the row and still nothing.

https://1drv.ms/u/s!Aplp25XkM3valwKqEdMddzWxlJwq

https://1drv.ms/u/s!Aplp25XkM3valwE-Wi_bTgLW-m61



 

jasa88
Regular Visitor

Hello again,

I've figured that the problem is the spreadsheet is locking me out if I try and run a flow after editing the spreadsheet, even after closing the browser window on the spreadsheet so I'm no longer editing it. It appears to take some time for the spreadsheet to relinquish control back to me and is locking out any further requests.

I've set the insert row to retry every 10 minutes if it doesn't succeed, but apparently that doesn't operate with a status 423 error message. Is there any way around this to keep the flow trying to insert/update the row rather than failing?

Anonymous
Not applicable

Hi All,

I don't know if that is the solution, but at least I had that problem "423". At first I had the file only "on-line" in SharePoint and also I tried on OneDrive. But those folders wasn't sync with my PC. 

I tried in one SharePoint Folder sync with my computer and the same Flow works, then I sync the folder where it was the original file and works too.

Hope help you.

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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (5,416)