{
  "type": "https://errors.swepay.com.br/ca-manager/conflict",
  "service": "ca-manager",
  "slug": "conflict",
  "httpStatus": 409,
  "title": "Conflict",
  "summary": "The request conflicts with the current state of the resource.",
  "description": "The request cannot be completed because it conflicts with the current state\nof a CA Manager resource. This typically means a uniqueness constraint or a\nstate-machine rule was violated — for example, requesting a certificate with\na subject that is already active, or acting on a certificate that has already\nbeen revoked.\n\nConflicts are about *state*, not input shape; the body itself is valid.\n",
  "commonCauses": [
    "A certificate with the same subject and key usage is already active.",
    "The certificate was already revoked, renewed, or superseded.",
    "Two concurrent requests raced to mutate the same resource."
  ],
  "clientAction": "Re-read the current state of the resource before retrying. If an equivalent\ncertificate already exists, reuse it instead of issuing a new one. For\nconcurrent writes, serialize your requests or use the returned state to\nreconcile. Blind retries will keep returning `409`.\n",
  "exampleResponse": {
    "type": "https://errors.swepay.com.br/ca-manager/conflict",
    "title": "Conflict",
    "status": 409,
    "detail": "An active certificate already exists for this subject and key usage.",
    "instance": "/v1/certificates"
  },
  "relatedDocs": [
    {
      "label": "RFC 9457 — Problem Details",
      "url": "https://www.rfc-editor.org/rfc/rfc9457"
    },
    {
      "label": "CA Manager API — OpenAPI",
      "url": "https://api.swepay.com.br/ca-manager/openapi.json"
    }
  ],
  "category": "service",
  "deprecated": false,
  "documentation": "https://errors.swepay.com.br/ca-manager/conflict"
}