Skip to content

ErrorDetail ​

Validation paths start with body, header, query, or path. Hook execution errors identify configuration.hooks.<name>; codes never contain input values or native validator messages.

Type: object

FieldRequiredTypeDescription and constraints
codeYesstringenum: ["required","invalid_type","invalid_value","unknown_field","template_not_found","template_inactive","template_forbidden","tag_not_found","profile_not_found","profile_inactive","account_inactive"]
pathYesarray<string / integer>

JSON Schema ​

json
{
  "description": "Validation paths start with body, header, query, or path. Hook execution errors identify configuration.hooks.<name>; codes never contain input values or native validator messages.",
  "properties": {
    "code": {
      "enum": [
        "required",
        "invalid_type",
        "invalid_value",
        "unknown_field",
        "template_not_found",
        "template_inactive",
        "template_forbidden",
        "tag_not_found",
        "profile_not_found",
        "profile_inactive",
        "account_inactive"
      ],
      "title": "Code",
      "type": "string"
    },
    "path": {
      "items": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "integer"
          }
        ]
      },
      "title": "Path",
      "type": "array"
    }
  },
  "required": [
    "path",
    "code"
  ],
  "title": "ErrorDetail",
  "type": "object"
}

All schemas · HTTP API