# POLICY_IN_USE

Canonical page: https://docs.ovok.com/errors/policy-in-use

**HTTP 409.** Problem type: [`https://docs.ovok.com/errors/policy-in-use`](https://docs.ovok.com/errors/policy-in-use).

## What this means [#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 [#troubleshooting]

1. If `heldByMembers` is `true`, find the members who hold it (`list_members`, or the project members routes) and give each of them another policy.
2. For each key in `settings`, change or clear that setting so it no longer names the policy.
3. Delete the policy again once no member holds it and no setting names it.

## Retry safely [#retry-safely]

Retry after the policy is out of use. An unchanged call returns the same error. Nothing was deleted.

## If the problem persists [#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](/errors) explains the response fields, and the [machine-code registry](/errors/machine-codes) lists every endpoint-specific type.
