Check response body is returned if error