Skip to content

Policy invalid

Type: https://docs.dockt.com/errors/policy-invalid

Status: 422 Unprocessable Content

Activation found problems in the Policy version, such as an override the package rule doesn’t allow, packages on a Policy that builds on another, duplicate rule codes, or an unknown document type. Each item in errors.issues names the failing path and starts with an issue code.

Fix the draft with PATCH /v1/policy-versions/{policyVersionId} and activate again. Check package rules’ allowed_overrides with GET /v1/compliance-packages/{code}/versions/{version}.

Write a Policy