PanQuestDocumentation

The document's state does not allow this operation

document-state-conflict

Type URIhttps://docs.panquest.com/qfx/problems/document-state-conflict
Status409 Conflict
TitleThe document's state does not allow this operation
Members of its ownnone beyond the common members

When

The document is in a state that does not allow the operation, for example a delete of a document that is already deleted, or an update of a deleted one. Under the disposition schedules the same type answers a disposal of a run that is not running, or that is an application (which destroys nothing), a disposal while the schedule is disabled, and a correction of a date the schedule withdrew or of a document that is gone.

What to do

Read the current state of the document, the run or the schedule before deciding what to send.

Example

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

{
  "type": "https://docs.panquest.com/qfx/problems/document-state-conflict",
  "title": "The document's state does not allow this operation",
  "status": 409,
  "detail": "The document is already deleted",
  "instance": "urn:uuid:3f1c2a0e-7d4b-4c55-9a2e-5b8f0c1d2e3f",
  "parameters": {
    "collection-name": "INVOICES",
    "document-id": "B6E604029DA47343E5879E3C317FCC36E0E212CB"
  }
}

All QFX problem types