Posts

Showing posts with the label Error

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

While working with one of the screen Save button, i see error while patching the SharePoint list data. After investigating the issue, I found it is due to old data that is pulled to the screen. As per Mozilla Documentation in the link , ETag is http response header to a version of a resource. It will help to save the time to avoid unnecessary transactions. If there is no changes in the content, it will not send response to the web server. So as there is no change in the List,  Etag will not send response to the web server and it returns the error. So when we save the list it throws error. To avoid the issue, we need to refresh the Data Source in the after Patching the list. In my Case, i have updated the Refresh as below. Path(<< DataSource >>,<< Item to be Updated >>,{<< Column >>:"Yes"}); Refresh( << DataSource >> ); After adding Refresh() function it worked as expected. Hope this helps.

PowerApps – Patch Function show error details

Image
Patch function will submit data from PowerApps to Destination Data location. Sometimes we may not see if patch is successful or failure in the PowerApps until we see the record in Destination location. By using Error Functions in PowerApps we will Notify the Patch errors. Error, IfError, ISError, IsBlankOrError functions will be helpful to detect the errors in the Action. But all these functions will be available in Experimental features in PowerApps. To get the functions, we need to enable the Experimental Features in PowerApps in Settings -> Upcoming Features -> Experimental as below. Error Function will allow us to see if there is any error on patching the Destination. We can add Error function for patching as below. If(IsEmpty(Errors(' <<Destination>> ',                                                   ...