There may be times when requests to the API are not successful, due to a variety of reasons. In all cases when an error occurs, our API will return an appropriate HTTP status code and an error message description. For most errors, such as if a resource is not found, the API will return a 404 status code.