added error message for when the rest_client is unable to reach the rest end point