Thread: Sync Error 301
View Single Post
Senior Member
Lone Wolf Staff
Join Date: Jun 2011
Posts: 1,090

Old January 9th, 2014, 10:07 AM
The 301 error is indicating that there are changes on the cloud server and at the same time you have made changes to the local client realm. We are working on the ability to choose for a realm as a whole to take what is on the client or what is on the server. In the meantime, be absolutely sure you make changes locally on one machine at a time. Once you are done with changes locally, sync them to the server. Before starting to make changes on another machine make sure you sync from the previous machine you were working on and then sync on the new machine you wish to work on.

Let's give an example of how you can run into the 301 error:
1) Make changes on my desktop to Realm 1
2) Make other changes on my laptop to Realm 1
3) Sync my desktop to the server
4) Try to sync my laptop to the server and get the 301 error there because the server has changes and my laptop has changes.

Way to avoid the 301:
a) Make changes to my desktop to Realm 1
b) Sync changes to server from my desktop
c) Sync changes from server to my laptop
d) Make changes to my laptop to Realm 1
e) Sync changes to server from my laptop
f) Sync changes from server to my desktop
g) Now able to make changes on either laptop or desktop but only one

These are all on a PER REALM basis. So you could make changes in Realm 1 on the desktop and Realm 2 on the laptop.

Once you are in this situation with a computer, one option you can take is to delete the local database and grab again everything from the server. Or you can take a backup from the machine that has successfully synced to the server and then restore it on the machine that is having the 301 error.

When doing backup and restore, keep in mind that the backup/restore is for ALL realms. We do not have the ability to do a backup of only a single realm and then restore that single realm on another machine.

Also, we are working on addressing these limitations. The first that will be available is when a 301 condition occurs, you will be given the option to take either the server data for the realm or take the client data for the realm. Later, we will work on allowing merging of the data and eventually even being able to see conflicts and manually select which change to accept. Merging of data is a very complex task and also can make for a tricky user interface to make sure it is done correctly and clearly.

Last edited by davidp; January 9th, 2014 at 10:46 AM. Reason: Clarification
davidp is offline   #13