Looking at the code, Are you getting this message in your log?Sending {}
to {} returned with status {} in {} ms", if not then probably it should
be logging the error below this as well. The status code is not correct,
the status == 200 || status == 201 || status == 202) then it would
return commandResult.