Shared
ValidationErrorItem
One per-field entry in a 422 request-validation body.
Returned by: a call that fails, as its error response. See Errors.
Found in: ValidationErrorResponse.detail.
Fields
loc
Path to the offending input, from the request root.
Type: array of string or integer · Required: yes · Example: ["body","jurisdictionCode"]
msg
Human-readable explanation of why this field was rejected.
Type: string · Required: yes · Example: "Field required"
type
Machine-readable kind of validation failure, e.g. missing or string_type.
Type: string · Required: yes · Example: "missing"
Last updated on