How do I troubleshoot sync errors?

What do you recommend to do about sync errors? The only way i found was to remove app and reinstall but that means data loss.

Sometimes we’ve found that a user’s role got changed and that caused the sync to not work. When the role was reverted, then the sync worked. This is an edge case. The safest thing to do is validate the sync will work before collecting a lot of data.