Error: This change cannot be applied because there is a newer version of your app

Dear community,

Last week my App got some minor changes and consequently, since the Audit History alert is enabled, the following error message comes in daily after every other user tried to add a row (submit their form): “This change cannot be applied because there is a newer version of your app ‘’. Please reset data to discard local changes.”.

I understand that the version in the user’s device is not updated to the backend version, which causes this error. By enabling all kind of syncs like “Sync on start” I hoped this was taken care of.

However, in the log I have found several cases where first the App run through sync before add row was fired, which still did not help in updating the version.


image

These users are trapped as they cannot sync the App as long as their add is not submitted, which again is not happening as the versions do not match.

I was already in contact with AppSheet Support (thanks to Aleksi for this) explaining me the same as stated in this documentation App Updates | AppSheet Help Center

“The only remedy is for the user to discard the changes (via the Reset Changes menu option).” I guess this option is found in the top left burger menu after the error occured, correct? At the same time, I assume that only few (if any) users facing this issue are aware of that to do and end up stuck in this error.

I am now slightly afraid of doing any further updates to the App and would like to learn how to prevent this error from happening the next time.

Can anyone offer advice on best practices?

2 Likes

Hi @Ksenia

So there are a couple of types of changes that tend to do that:

  • you change your spreadsheet and regenerate your data structure (e.g. add a column, change column order or change the name of the column) - these ones are always tricky but don’t happen very often
  • you change a data type (e.g. a column changes from Text to Number) - again this in general doesn’t happen often
  • you add more validity conditions (check valid_if condition - https://help.appsheet.com/en/articles/961211-valid_if-column-constraint; suddenly you’re adding the condition that a number should be larger than 5, but your user has a value of 4)

To avoid these issues, you can have a stable version that your users have while you work on the latest version. Once your new version is ready, you can make it the stable version and share it with your users. More at Maintaining a Stable App Version | AppSheet Help Center

Hope this helps.