The REST API provides consistent, predictable error reporting, with HTTP status codes and detailed error messages.
The following error codes may be returned:
|Indicates that the sent request is malformed, for example the request has wrong headers.|
|Indicates that the Authorization header is missing in the request.|
|Indicates that the provided access key for the call is not valid.|
|Indicates that the specified resource is not found, for example the user ID does not exist.|
|Indicates that the API endpoint does not exist.|
|Indicates that the request could not be completed due to a conflict with the current state of the target resource. For example, the target resource may have been modified concurrently.|
|Indicates invalid media type provided, for example sending a form encoded POST request body, instead of JSON.|
|Indicates that the request format is valid but the values do not meet the business rules. For example, a mandatory value is missing.|
|Any 5xx error code indicates a server-side problem and should be followed up with Nevis support.|
Was this page helpful?