properly handles errors during sync, loads credentials into sync requests