conflict.state
The resource is not in a state that allows this action
- HTTP status
- 409
- Problem type
https://api.field-viewer.com/problems/conflict.state- Catalogue
- Generic (any operation)
What it means
The resource exists, but its current state does not allow this action, for example publishing a version that is still processing.
What to do
Read the resource, wait until it reaches a state that allows the action, then retry. The problem's detail names the state that blocked it.
Example response
Errors use RFC 9457 application/problem+json. Match on code (stable forever), not on title or detail, which are localised.
HTTP/1.1 409
Content-Type: application/problem+json
{
"type": "https://api.field-viewer.com/problems/conflict.state",
"title": "The resource is not in a state that allows this action",
"status": 409,
"detail": "The resource is not in a state that allows this action",
"instance": "/v1/organizations/{organizationId}/projects/{projectId}/link-discovery-runs/{runId}/accept",
"code": "conflict.state",
"requestId": "req_01jcz3k8m4f6a9t2x7v5q0wbne"
}
Returned by
| Operation | Request | Summary |
|---|---|---|
acceptLinkDiscoveryRun | POST /v1/organizations/{organizationId}/projects/{projectId}/link-discovery-runs/{runId}/accept | Accept a discovered link profile |
applyLayerTemplate | POST /v1/organizations/{organizationId}/layer-templates/{templateId}/apply | Apply a layer template to projects |
approveOAuthAuthorizationRequest | POST /v1/oauth/authorization-requests/{requestId}/approve | Approve an OAuth authorization request |
approveSupportAccessRequest | POST /v1/organizations/{organizationId}/support-access-requests/{uid}/approve | Approve a support access request |
archiveDocument | POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/archive | Archive a document |
archiveModelVersion | POST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/archive | Archive a model version |
archiveProject | POST /v1/organizations/{organizationId}/projects/{projectId}/archive | Archive a project |
cancelDocumentVersionUpload | POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}/cancel | Cancel a PDF drawing upload |
cancelModelVersionUpload | POST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/cancel | Cancel a model version upload |
claimTryout | POST /v1/tryouts/claim | Keep a tryout in the caller's existing account |
completeDocumentVersionUpload | POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}/complete | Confirm a PDF drawing upload has finished |
completeModelVersionUpload | POST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/complete | Confirm a model version upload has finished |
convertTryout | POST /v1/organizations/{organizationId}/tryout/convert | Keep a tryout as an ordinary organisation |
createLayerTemplate | POST /v1/organizations/{organizationId}/layer-templates | Create a layer template |
createLink | POST /v1/organizations/{organizationId}/projects/{projectId}/links | Link model elements to a drawing page |
createLinkDiscoveryRun | POST /v1/organizations/{organizationId}/projects/{projectId}/link-discovery-runs | Find how a project's drawings link to its model |
createLinkImport | POST /v1/organizations/{organizationId}/projects/{projectId}/link-imports | Start a bulk link import from a CSV file |
createLinkRule | POST /v1/organizations/{organizationId}/projects/{projectId}/link-rules | Create an auto-linking rule |
createLinkRuleRun | POST /v1/organizations/{organizationId}/projects/{projectId}/link-rule-runs | Preview or apply an auto-linking rule |
createSavedView | POST /v1/organizations/{organizationId}/projects/{projectId}/views | Save a view |
createWorkstation | POST /v1/organizations/{organizationId}/workstations | Create a workstation |
deleteDocument | DELETE /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId} | Delete a document (restorable for 30 days) |
deleteLayerTemplate | DELETE /v1/organizations/{organizationId}/layer-templates/{templateId} | Delete a layer template |
deleteLink | DELETE /v1/organizations/{organizationId}/projects/{projectId}/links/{linkId} | Delete a drawing link |
deleteLinkRule | DELETE /v1/organizations/{organizationId}/projects/{projectId}/link-rules/{ruleId} | Delete an auto-linking rule |
deleteModelVersion | DELETE /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId} | Delete a never-published model version |
deleteWorkstation | DELETE /v1/organizations/{organizationId}/workstations/{workstationId} | Delete a revoked workstation |
denyOAuthAuthorizationRequest | POST /v1/oauth/authorization-requests/{requestId}/deny | Deny an OAuth authorization request |
denySupportAccessRequest | POST /v1/organizations/{organizationId}/support-access-requests/{uid}/deny | Deny a support access request |
publishDocumentVersion | POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}/publish | Publish a document version |
publishProjectRevision | POST /v1/organizations/{organizationId}/projects/{projectId}/revisions/{number}/publish | Publish a revision of a project |
redeemBetaAccessCode | POST /v1/users/me/beta-access:redeem | Redeem a beta access code |
reprocessLayerSet | POST /v1/organizations/{organizationId}/projects/{projectId}/layer-sets/{layerSetId}/reprocess | Reset a layer set to its derived defaults |
reprocessModelVersion | POST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/reprocess | Retry a failed model version, or reprocess it on a newer pipeline |
reprocessModelVersionAsSupport | POST /v1/platform/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/reprocess-as-support | Reprocess a failed model version as platform support |
requestEmailChange | POST /v1/me/email-change | Request an e-mail address change |
requestEmailVerification | POST /v1/me/email-verification | Send me the e-mail verification link |
requestSupportAccess | POST /v1/platform/organizations/{organizationId}/support-access-requests | Ask an organisation's owners for support access |
restoreDocument | POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/restore | Restore an archived or deleted document |
restoreModelVersion | POST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/restore | Restore an archived model version |
restoreProject | POST /v1/organizations/{organizationId}/projects/{projectId}/restore | Restore an archived or deleted project |
revokeBetaAccessCode | POST /v1/platform/beta-access-codes/{id}/revoke | Revoke a beta access code |
rotateApiToken | POST /v1/organizations/{organizationId}/api-tokens/{apiTokenId}/rotate | Rotate an API token's secret |
setCurrentProjectRevision | POST /v1/organizations/{organizationId}/projects/{projectId}/revisions/{number}/make-current | Make an earlier revision of a project current again |
setDocumentVersionPageScale | PATCH /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}/pages/{pageNumber}/scale | Set or clear the scale of a PDF drawing's page |
startDocumentVersionProcessing | POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}/start-processing | Retry a drawing that was uploaded but never processed |
unpublishDocument | POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/unpublish | Unpublish a document |
unpublishModel | POST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/unpublish | Unpublish a model |
updateDocument | PATCH /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId} | Rename a document |
updateDocumentVersion | PATCH /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId} | Correct a document version's sheet metadata or a CAD drawing's units |
updateLayerSet | PATCH /v1/organizations/{organizationId}/projects/{projectId}/layer-sets/{layerSetId} | Curate a project's layer set |
updateLayerTemplate | PATCH /v1/organizations/{organizationId}/layer-templates/{templateId} | Update a layer template |
updateLink | PATCH /v1/organizations/{organizationId}/projects/{projectId}/links/{linkId} | Move a link to another drawing page |
updateLinkRule | PATCH /v1/organizations/{organizationId}/projects/{projectId}/link-rules/{ruleId} | Change an auto-linking rule |
updateModelVersion | PATCH /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId} | Update a model version's label and notes |
updateOrganization | PATCH /v1/organizations/{organizationId} | Update an organisation's name, language, logo, analytics or CAD drawing settings |
updateSavedView | PATCH /v1/organizations/{organizationId}/projects/{projectId}/views/{viewId} | Rename, share or set a saved view as the project default |
updateTryout | PATCH /v1/organizations/{organizationId}/tryout | Answer the research copy question of a tryout |
updateWorkstation | PATCH /v1/organizations/{organizationId}/workstations/{workstationId} | Rename a workstation or change its projects |