Log.warn(
FrontendRestApi.class, "Failed to deserialize JSON response: " + response.getText());
}
} else {
if (callback != null) {
ServerError responseData = null;
if (!StringUtils.isNullOrEmpty(response.getText())) {
try {
responseData = DtoUtils.parseAsDto(response.getText(), RoutingTypes.SERVERERROR,
RoutingTypes.INVALIDXSRFTOKENSERVERERROR);
} catch (Exception e) {