PanQuestDocumentation

The collection is not mutable

collection-not-mutable

Type URIhttps://docs.panquest.com/qfx/problems/collection-not-mutable
Status409 Conflict
TitleThe collection is not mutable
Members of its ownnone beyond the common members

When

The collection's mutable property is false, and the request would change its composition: its name, caption, description or the indexes linked to it. Its documents are not concerned: filing, changing and deleting them follows the collection's holds and locks, not this property.

What to do

Set mutable to true first, with a request that changes nothing else, then make the change.

Example

HTTP/1.1 409 Conflict
Content-Type: application/problem+json
Content-Language: en

{
  "type": "https://docs.panquest.com/qfx/problems/collection-not-mutable",
  "title": "The collection is not mutable",
  "status": 409,
  "detail": "Collection INVOICES is not mutable: its name, caption, description and indexes cannot change while mutable is false",
  "instance": "urn:uuid:3f1c2a0e-7d4b-4c55-9a2e-5b8f0c1d2e3f",
  "parameters": {
    "collection-name": "INVOICES"
  }
}

All QFX problem types