Error

GovernmentMaking Tax DigitalRegulatoryTaxUK

Properties

Name Type Description
code string HMRC error code
message string Human-readable error description
errors array
View JSON Schema on GitHub

JSON Schema

hmrc-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Error",
  "title": "Error",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "HMRC error code"
    },
    "message": {
      "type": "string",
      "description": "Human-readable error description"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        }
      }
    }
  }
}