Field-Viewer API

All errors

conflict.already_exists

A resource with this id already exists

HTTP status
409
Problem type
https://api.field-viewer.com/problems/conflict.already_exists
Catalogue
Generic (any operation)

What it means

A resource with the same identity already exists, so this create cannot add a second one.

What to do

Read the existing resource and update it, or create the new one with a different identifying value.

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.already_exists",
  "title": "A resource with this id already exists",
  "status": 409,
  "detail": "A resource with this id already exists",
  "instance": "/v1/organizations/{organizationId}/projects/{projectId}/annotations",
  "code": "conflict.already_exists",
  "requestId": "req_01jcz3k8m4f6a9t2x7v5q0wbne"
}

Returned by

OperationRequestSummary
createAnnotationPOST /v1/organizations/{organizationId}/projects/{projectId}/annotationsSave a measurement annotation
createBetaAccessCodePOST /v1/platform/beta-access-codesIssue a beta access code
createFeedbackPOST /v1/organizations/{organizationId}/feedbackReport a problem to the Field-Viewer team
createLayerTemplatePOST /v1/organizations/{organizationId}/layer-templatesCreate a layer template
createLinkImportPOST /v1/organizations/{organizationId}/projects/{projectId}/link-importsStart a bulk link import from a CSV file
createSavedViewPOST /v1/organizations/{organizationId}/projects/{projectId}/viewsSave a view
createWorkstationPOST /v1/organizations/{organizationId}/workstationsCreate a workstation
requestEmailChangePOST /v1/me/email-changeRequest an e-mail address change
updateWorkstationPATCH /v1/organizations/{organizationId}/workstations/{workstationId}Rename a workstation or change its projects