Format of the errors returned by Devengo

Errors

All errors returned by the API will follow this format:

{
  "error": {
    "message": "Human readable description of the raised error",
    "code": "specific_error_code",
    "type": "generic_doc_error",
    "backtrace": null
  }
}

API consumers can check the specific errors that may be potentially raised for a given endpoint in its reference documentation.