We had exactly same error text when creating any records in system.
Sync was working correctly
It was caused by a few missing files in packages local directory folder of binary vertical solution. Visual studio did not detect some newly added files while checking in vertical solution update.
Getting those files back and restarting iis resolved this issue.