showing error if sync failed