{
  "type": "https://errors.swepay.com.br/common/validation-failed",
  "service": "common",
  "slug": "validation-failed",
  "httpStatus": 400,
  "title": "Validation Failed",
  "summary": "The request body or parameters failed validation.",
  "description": "The request was well-formed but failed validation. One or more fields are\nmissing, have the wrong type, or violate a business rule enforced by the API.\n\nResponses of this type carry an `errors` extension member: an array of\nfield-level problems so your client can map each violation back to the\noffending input.\n",
  "commonCauses": [
    "A required field is missing or empty.",
    "A field has the wrong type, format, or is out of range.",
    "A value violates a uniqueness or business constraint."
  ],
  "clientAction": "Inspect the `errors` array and surface the messages next to the relevant\nfields in your UI. Correct the input and retry — the request is safe to\nresend once the data is valid. Do **not** retry unchanged; the result will be\nidentical.\n",
  "exampleResponse": {
    "type": "https://errors.swepay.com.br/common/validation-failed",
    "title": "Validation Failed",
    "status": 400,
    "detail": "The request contains 2 invalid fields.",
    "instance": "/v1/certificates",
    "errors": [
      {
        "field": "commonName",
        "message": "must be a valid hostname"
      },
      {
        "field": "validityDays",
        "message": "must be between 1 and 825"
      }
    ]
  },
  "relatedDocs": [
    {
      "label": "RFC 9457 — Problem Details",
      "url": "https://www.rfc-editor.org/rfc/rfc9457"
    }
  ],
  "category": "common",
  "deprecated": false,
  "documentation": "https://errors.swepay.com.br/common/validation-failed"
}