POLICY_IN_USE
Access policy in use: what the POLICY_IN_USE error means and how to fix it.
HTTP 409. Problem type: https://docs.ovok.com/errors/policy-in-use.
What this means
Deleting the access policy was refused because it is still in use: a member holds it, a project setting names it, or both. The error says which in heldByMembers and settings. Nothing was deleted.
Troubleshooting
- If
heldByMembersistrue, find the members who hold it (list_members, or the project members routes) and give each of them another policy. - For each key in
settings, change or clear that setting so it no longer names the policy. - Delete the policy again once no member holds it and no setting names it.
Retry safely
Retry after the policy is out of use. An unchanged call returns the same error. Nothing was deleted.
If the problem persists
Share the HTTP status, problem type, request path, response timestamp and traceId with your administrator or support contact. Remove access tokens, provider secrets and patient data first. The Error responses guide explains the response fields, and the machine-code registry lists every endpoint-specific type.
Last updated on