def METHOD_NAME(self, user):
    sync_status = False
    error_msg = None
    api_token = live_settings.GRAFANA_CLOUD_ONCALL_TOKEN
    if api_token is None:
        logger.warning(f"Unable to sync_user_with cloud user_id {user.id}. GRAFANA_CLOUD_ONCALL_TOKEN is not set")
        error_msg = "GRAFANA_CLOUD_ONCALL_TOKEN is not set"
    else:
        url = create_engine_url(
            f"api/v1/users/?email={user.email}&roles=0&roles=1&short=true",
            override_base=GRAFANA_CLOUD_ONCALL_API_URL,
        )
        try:
            r = requests.get(url, headers={"AUTHORIZATION": api_token}, timeout=5)
            if r.status_code != 200:
                logger.warning(
                    f"Unable to sync_user_with_cloud user_id {user.id}. Response status code {r.status_code}"
                )
                error_msg = f"Non-200 HTTP code. Got {r.status_code}"
            else:
                data = r.json()
                if len(data["results"]) != 0:
                    cloud_used_data = data["results"][0]
                    with transaction.atomic():
                        CloudUserIdentity.objects.filter(email=user.email).delete()
                        CloudUserIdentity.objects.create(
                            email=user.email,
                            phone_number_verified=cloud_used_data["is_phone_number_verified"],
                            cloud_id=cloud_used_data["id"],
                        )
                    sync_status = True
                else:
                    logger.warning(
                        f"Unable to sync_user_with_cloud user_id {user.id}. User with {user.email} not found"
                    )
                    error_msg = f"User with email not found {user.email}"
        except requests.exceptions.RequestException as e:
            logger.warning(f"Unable to sync_user_with cloud user_id {user.id}. Request exception {str(e)}")
            error_msg = "Unable to sync with cloud"
    return sync_status, error_msg