If attributes are set as unique and they have a mapsTo property, the mapsTo is ignored and obviously MySQL gives an error that key doesn't exist. Adding the following on line 229 in the Sync.js fixes it k = collection.properties[k].mapsTo;