The resource is in use
resource-in-use
| Type URI | https://docs.panquest.com/qfx/problems/resource-in-use |
|---|---|
| Status | 409 Conflict |
| Title | The resource is in use |
| Members of its own | none beyond the common members |
When
The resource cannot be deleted or changed while something depends on it: an index linked to a collection or holding values, a collection that is not empty, a storage location that has assignments or is the default, a permission assigned to a role.
What to do
Remove what depends on the resource first, then send the request again.
Example
HTTP/1.1 409 Conflict
Content-Type: application/problem+json
Content-Language: en
{
"type": "https://docs.panquest.com/qfx/problems/resource-in-use",
"title": "The resource is in use",
"status": 409,
"detail": "Collection is not empty; cannot delete",
"instance": "urn:uuid:3f1c2a0e-7d4b-4c55-9a2e-5b8f0c1d2e3f",
"parameters": {
"collection-name": "INVOICES"
}
}