Handle failed status response from rest response