Avalara · Schema

ErrorResult

Taxes

Properties

Name Type Description
error object
View JSON Schema on GitHub

JSON Schema

avalara-errorresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ErrorResult",
  "title": "ErrorResult",
  "type": "object",
  "properties": {
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "Machine-readable error code"
        },
        "message": {
          "type": "string",
          "description": "Human-readable error message"
        },
        "target": {
          "type": "string",
          "description": "The component that generated the error"
        },
        "details": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "number": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "faultCode": {
                "type": "string"
              },
              "helpLink": {
                "type": "string"
              },
              "severity": {
                "type": "string",
                "enum": [
                  "Error",
                  "Warning",
                  "Exception"
                ]
              }
            }
          }
        }
      }
    }
  }
}