Before you parse the response body, you should check `response.statusCode` to make sure it's what you expect (likely status `200`). If it's not, you should callback with an error.