cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Server Response ETAG mismatch (Conflicts exist with changes on the server, please reload)

I've been having this error since last week and it was working fine before. 

 

I can't update my SharePoint list when I press the "Yes", ETAG error appears.

 

It happens when I update/select/choose a Leave Type and patch the LeaveTypeList Column on the LeavDateSourceSelected.

Same thing happens when I update the Approver Column.

 

I'm not sure if PA has to do with it or a SharePoint error.

 

Any idea will be helpful. 

 

Cheers

22 REPLIES 22

Ah, so you inserted a refresh before submit to try to solve an ETAG problem created by a refresh that had been there after the submit? If so, that's the kind of ETAG problem that I'd like to have!

Ha, no kidding. I thought maybe 2 of my patches (1 forall patch and 1 patch with a switch statement in it) were introducing unforeseen behavior but nope, not in this case. Interestingly enough, removing all refreshes from the equation is what resolved it, this time. Somethings off here for sure based on everything else I'm seeing in this thread. 

 

If it does have something to with the last submit, I think ensuring that each patch within the onselect function successively uses the last.submit of the original submitform. 

Neil_P
Microsoft
Microsoft

I encountered this today in one of my apps. It turned out to be due to a Power Automate flow updating the SharePoint list item in the background after the Power App had loaded the item. When the Power App tried to patch the item, it found that the version in SharePoint was newer than the one loaded in memory, resulting in this ETAG mismatch error.

 

Resolved it as follows:

  • The selected item in the data source (which is referenced by a data table tbl_Requests) is assigned to varFormData:

 

Set(varFormData,tbl_Requests.Selected); ​

 

  • The item ID is saved in varItemID:

 

Set(varItemID,varFormData.ID);​

 

  • Lastly, prior to patching data, the item is re-loaded from the data source to ensure that the app has the latest version:

 

Set(varFormData,LookUp('Data Source Name',ID=varItemID));​

 

Happy Power Apping!

- Neil

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,811)