Skip to content

Lifecycle Policy Subset Violation

URI: https://docs.ankatech.co/errors/lifecycle-policy-subset-violation
HTTP Status: 422 Unprocessable Entity

When you see this

The lifecycle policy you tried to set is not a subset of the policy it inherits from. A more specific lifecycle policy may only tighten the inherited one.

Common Causes

  • Extending a lifetime or usage limit beyond what the parent lifecycle policy allows.
  • Enabling a lifecycle option the inherited policy disallows.
  • Defining a lifecycle value outside the parent policy's bounds.

Response Example

{
  "type": "https://docs.ankatech.co/errors/lifecycle-policy-subset-violation",
  "title": "Lifecycle Policy Subset Violation",
  "status": 422,
  "detail": "The submitted lifecycle policy is not a subset of the inherited lifecycle policy.",
  "instance": "/api/v3/admin/tenants/00000000-0000-0000-0000-000000000001/lifecycle-policy",
  "correlationId": "550e8400-e29b-41d4-a716-446655440000",
  "timestamp": 1730000000
}

Content-Type: application/problem+json — the response follows RFC 7807 Problem Details.

How to Resolve

  1. Review the inherited lifecycle policy's bounds.
  2. Adjust your lifecycle policy so it only tightens (never widens) the inherited one.
  3. Re-submit once every value is within the parent policy's limits.

For full schema definitions, examples, and interactive testing, see the Developer Hub Reference.