Skip to main content
Lotus follows RFC 7807 for error responses. The response body will contain a JSON object with the following fields: Lotus errors broadly fall into three categories:

Validation Error

A validation error occurs when a request is rejected because it does not conform to the API’s schema. For example, if a required field is missing, or if a field is of the wrong type. If a request contains multiple validation errors, the response body will contain an array of error objects under the key validation_errors. Every object in the array will have the following fields:

Client Error

A client error occurs when a request is rejected because it is invalid. For example, if you try to create a resource with an ID that already exists, or don’t have sufficient permissions to access the resource. A non exhaustive list of client errors:

Server Error

A server error occurs when the server is unable to process the request. For example, if the server is down, or if there is a bug in the server’s code. It has been reported to the Lotus team and we are investigating! A non exhaustive list of server errors: