Return better errors on bad response.