Validation Error

The request body failed schema validation.

Status: 422 Type: https://brivo.ltd/docs/identity/api/errors/validation-error

The request was well-formed and could be parsed, but one or more fields failed validation. The detail field will identify which fields are invalid and why.

Common causes

  • A required field is missing
  • A field value is outside the allowed range or format
  • An enum field contains an unrecognised value
  • A string field exceeds its maximum length

Example

{
  "type": "https://brivo.ltd/docs/identity/api/errors/validation-error",
  "title": "Unprocessable Entity",
  "status": 422,
  "detail": "email: must be a valid email address; password: must be at least 12 characters."
}

Resolution

Correct the fields identified in detail and resubmit the request. For parse-level failures (invalid JSON, wrong content type), see Bad Request instead.

On this page