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

Error while Using Patch , FOR All- ETAG Mismatch

Hello Dears,

 

I have been struggling with the error "ETAG Mismatch" for a couple of weeks now.

 

Here is what i am doing , i have a custom Gallery , where i have some fields that i need to edit on the fly so for example i have a Date Picker on the Gallery and using this code on the OnSelect Event:

Patch('ListNameInSharepoint',ThisItem,{From:FromDate.SelectedDate})

 

i am also at the end doing a bulk update to my Collection using For All and Patch as below:

ForAll(myLoadedCollection,Patch('myDataSource',LookUp('myDataSource', ID = myLoadedCollection[@ID]),{DataReadyForUpload:true}))

 

And i am getting the Server E-Tag Mismatch randomly, i searched other discussions saying problem has been solved but still it is not solved at my side.

 

Appreciate any Help!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Error while Using Patch , FOR All- ETAG Mismatch

Hi @MiraGhaly,

 

Please take a try with the formula below and see if that would work in your scenario:

ForAll(RenameColumns(myLoadedCollection, "ID","ID1"),
       Patch('myDataSource',
LookUp('myDataSource', ID = ID1),
{DataReadyForUpload:true})
)

Regards,

Michael

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

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Error while Using Patch , FOR All- ETAG Mismatch

Hi @MiraGhaly,

 

Please take a try with the formula below and see if that would work in your scenario:

ForAll(RenameColumns(myLoadedCollection, "ID","ID1"),
       Patch('myDataSource',
LookUp('myDataSource', ID = ID1),
{DataReadyForUpload:true})
)

Regards,

Michael

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

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 304 members 5,861 guests
Recent signins:
Please welcome our newest community members: