Field-Viewer API

All errors

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

OperationRequestSummary
acceptLinkDiscoveryRunPOST /v1/organizations/{organizationId}/projects/{projectId}/link-discovery-runs/{runId}/acceptAccept a discovered link profile
applyLayerTemplatePOST /v1/organizations/{organizationId}/layer-templates/{templateId}/applyApply a layer template to projects
approveOAuthAuthorizationRequestPOST /v1/oauth/authorization-requests/{requestId}/approveApprove an OAuth authorization request
approveSupportAccessRequestPOST /v1/organizations/{organizationId}/support-access-requests/{uid}/approveApprove a support access request
archiveDocumentPOST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/archiveArchive a document
archiveModelVersionPOST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/archiveArchive a model version
archiveProjectPOST /v1/organizations/{organizationId}/projects/{projectId}/archiveArchive a project
cancelDocumentVersionUploadPOST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}/cancelCancel a PDF drawing upload
cancelModelVersionUploadPOST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/cancelCancel a model version upload
claimTryoutPOST /v1/tryouts/claimKeep a tryout in the caller's existing account
completeDocumentVersionUploadPOST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}/completeConfirm a PDF drawing upload has finished
completeModelVersionUploadPOST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/completeConfirm a model version upload has finished
convertTryoutPOST /v1/organizations/{organizationId}/tryout/convertKeep a tryout as an ordinary organisation
createLayerTemplatePOST /v1/organizations/{organizationId}/layer-templatesCreate a layer template
createLinkPOST /v1/organizations/{organizationId}/projects/{projectId}/linksLink model elements to a drawing page
createLinkDiscoveryRunPOST /v1/organizations/{organizationId}/projects/{projectId}/link-discovery-runsFind how a project's drawings link to its model
createLinkImportPOST /v1/organizations/{organizationId}/projects/{projectId}/link-importsStart a bulk link import from a CSV file
createLinkRulePOST /v1/organizations/{organizationId}/projects/{projectId}/link-rulesCreate an auto-linking rule
createLinkRuleRunPOST /v1/organizations/{organizationId}/projects/{projectId}/link-rule-runsPreview or apply an auto-linking rule
createSavedViewPOST /v1/organizations/{organizationId}/projects/{projectId}/viewsSave a view
createWorkstationPOST /v1/organizations/{organizationId}/workstationsCreate a workstation
deleteDocumentDELETE /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}Delete a document (restorable for 30 days)
deleteLayerTemplateDELETE /v1/organizations/{organizationId}/layer-templates/{templateId}Delete a layer template
deleteLinkDELETE /v1/organizations/{organizationId}/projects/{projectId}/links/{linkId}Delete a drawing link
deleteLinkRuleDELETE /v1/organizations/{organizationId}/projects/{projectId}/link-rules/{ruleId}Delete an auto-linking rule
deleteModelVersionDELETE /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}Delete a never-published model version
deleteWorkstationDELETE /v1/organizations/{organizationId}/workstations/{workstationId}Delete a revoked workstation
denyOAuthAuthorizationRequestPOST /v1/oauth/authorization-requests/{requestId}/denyDeny an OAuth authorization request
denySupportAccessRequestPOST /v1/organizations/{organizationId}/support-access-requests/{uid}/denyDeny a support access request
publishDocumentVersionPOST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}/publishPublish a document version
publishProjectRevisionPOST /v1/organizations/{organizationId}/projects/{projectId}/revisions/{number}/publishPublish a revision of a project
redeemBetaAccessCodePOST /v1/users/me/beta-access:redeemRedeem a beta access code
reprocessLayerSetPOST /v1/organizations/{organizationId}/projects/{projectId}/layer-sets/{layerSetId}/reprocessReset a layer set to its derived defaults
reprocessModelVersionPOST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/reprocessRetry a failed model version, or reprocess it on a newer pipeline
reprocessModelVersionAsSupportPOST /v1/platform/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/reprocess-as-supportReprocess a failed model version as platform support
requestEmailChangePOST /v1/me/email-changeRequest an e-mail address change
requestEmailVerificationPOST /v1/me/email-verificationSend me the e-mail verification link
requestSupportAccessPOST /v1/platform/organizations/{organizationId}/support-access-requestsAsk an organisation's owners for support access
restoreDocumentPOST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/restoreRestore an archived or deleted document
restoreModelVersionPOST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/restoreRestore an archived model version
restoreProjectPOST /v1/organizations/{organizationId}/projects/{projectId}/restoreRestore an archived or deleted project
revokeBetaAccessCodePOST /v1/platform/beta-access-codes/{id}/revokeRevoke a beta access code
rotateApiTokenPOST /v1/organizations/{organizationId}/api-tokens/{apiTokenId}/rotateRotate an API token's secret
setCurrentProjectRevisionPOST /v1/organizations/{organizationId}/projects/{projectId}/revisions/{number}/make-currentMake an earlier revision of a project current again
setDocumentVersionPageScalePATCH /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}/pages/{pageNumber}/scaleSet or clear the scale of a PDF drawing's page
startDocumentVersionProcessingPOST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}/start-processingRetry a drawing that was uploaded but never processed
unpublishDocumentPOST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/unpublishUnpublish a document
unpublishModelPOST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/unpublishUnpublish a model
updateDocumentPATCH /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}Rename a document
updateDocumentVersionPATCH /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}Correct a document version's sheet metadata or a CAD drawing's units
updateLayerSetPATCH /v1/organizations/{organizationId}/projects/{projectId}/layer-sets/{layerSetId}Curate a project's layer set
updateLayerTemplatePATCH /v1/organizations/{organizationId}/layer-templates/{templateId}Update a layer template
updateLinkPATCH /v1/organizations/{organizationId}/projects/{projectId}/links/{linkId}Move a link to another drawing page
updateLinkRulePATCH /v1/organizations/{organizationId}/projects/{projectId}/link-rules/{ruleId}Change an auto-linking rule
updateModelVersionPATCH /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}Update a model version's label and notes
updateOrganizationPATCH /v1/organizations/{organizationId}Update an organisation's name, language, logo, analytics or CAD drawing settings
updateSavedViewPATCH /v1/organizations/{organizationId}/projects/{projectId}/views/{viewId}Rename, share or set a saved view as the project default
updateTryoutPATCH /v1/organizations/{organizationId}/tryoutAnswer the research copy question of a tryout
updateWorkstationPATCH /v1/organizations/{organizationId}/workstations/{workstationId}Rename a workstation or change its projects