cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MLH
Level: Powered On

update file properties on SharePoint gets an error even though all the actions have run

Our Team FLOW - is to create a file from one SharePoint library to another, then update the new file with trigger user's information and the date the action took place.  When the flow is started all the actions runs to completion but then the workflow states that the run failed with a  "status": 400, "message": "Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))\r\nclientRequestId: 739ac69e-d4c6-44cb-a19b-1445b5daf31b\r\nserviceRequestId: 739ac69e-d4c6-44cb-a19b-1445b5daf31b" WE have looked for a fix but cannot find one, nor can we find what is causing the workflow fail.  Assistance would be most welcomed

UPDATED : Was requested to add a picture which is found below, please note that even when we moved the "Update File Properties" after the   create file and before the delete file, the error was the same but by moving it to the end of the flow all the actions runs to completion before the workflow states it failed. 

Flow Error.jpgthe Flow

5 REPLIES 5
Super User
Super User

Re: update file properties on SharePoint gets an error even though all the actions have run

@MLH 

Please post a screen shot of your Flow.  That will make it much easier to assist.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Community Support Team
Community Support Team

Re: update file properties on SharePoint gets an error even though all the actions have run

Hi @MLH ,

 

Please move the "Update file properties" action to the if yes branch of the Condition as my screenshot below:

1.png 

Please let me know if your problem could be solved.

 

Best regards,

Alice       

 

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

AKRogers
Level 8

Re: update file properties on SharePoint gets an error even though all the actions have run

Hi there!

 

Reading your update and I want to clarify: does the file in the destination library actually get updated even though the Flow states that it failed?

 

You could try a simple test Flow to update an existing file in the destination library.  You might be able to see if there's something going on with the library itself (such as "require Checkout" being on) first.  If that works without failing you might consider rebuilding the Flow from there.

 

Take care!

Ashley

If you found this helpful, consider giving it a thumbs up!

MLH
Level: Powered On

Re: update file properties on SharePoint gets an error even though all the actions have run

Yes the newly created item is being updated even though the workflow is stating that it failed. We have checked the libarary and nothing seems to be wrong when this is happening, everything has been checked in, verified the columns titles/names match, etc. but still keeps happening.

MLH
Level: Powered On

Re: update file properties on SharePoint gets an error even though all the actions have run

Thank you for the assistance but we are till getting a failed workflow action even thought the workflow is processing the creating of a new iteam and updating the needed areas.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,507)