Lectronz API Reference, Version 1

Errors

When an API call fails, the HTTP status code of the response will be set to a value in the range 400 to 599, and a JSON error object representation will be returned as the response body of the request.

Resource

An JSON object representing a list of errors that is returned when an API call fails.

Example:

{
  "errors" : [
    {
      "status" : 404,
      "title" : "Not found"
    }
  ]
}

This object has the following properties:

errorsarray of object

A list of errors.

See details
statusnumber

Error code, typically an HTTP error status code.

titlestring

Error message

detailstring

Optional error message detail.