Xero · Schema

Error

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
ErrorNumber integer Exception number
Type string Exception type
Message string Exception message
Elements array Array of Elements of validation Errors
View JSON Schema on GitHub

JSON Schema

xero-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Error",
  "title": "Error",
  "externalDocs": {
    "url": "https://developer.xero.com/documentation/api/http-response-codes"
  },
  "properties": {
    "ErrorNumber": {
      "description": "Exception number",
      "type": "integer"
    },
    "Type": {
      "description": "Exception type",
      "type": "string"
    },
    "Message": {
      "description": "Exception message",
      "type": "string"
    },
    "Elements": {
      "description": "Array of Elements of validation Errors",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Element"
      }
    }
  },
  "type": "object"
}