case 2556:
message = "2556 : Service is not defined";
throw new UpdateFailedException(message, true,
ApiKey.PermanentFailReason.unknownReason(message));
default:
throw new UnexpectedHttpResponseCodeException(withingsStatusCode, "Unexpected status code: " + withingsStatusCode);
}
}
countSuccessfulApiCall(updateInfo.apiKey, updateInfo.objectTypes, then, url);
if (!StringUtils.isEmpty(json))