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
| Operation | Request | Summary |
|---|---|---|
createAnnotation | POST /v1/organizations/{organizationId}/projects/{projectId}/annotations | Save a measurement annotation |
createBetaAccessCode | POST /v1/platform/beta-access-codes | Issue a beta access code |
createFeedback | POST /v1/organizations/{organizationId}/feedback | Report a problem to the Field-Viewer team |
createLayerTemplate | POST /v1/organizations/{organizationId}/layer-templates | Create a layer template |
createLinkImport | POST /v1/organizations/{organizationId}/projects/{projectId}/link-imports | Start a bulk link import from a CSV file |
createSavedView | POST /v1/organizations/{organizationId}/projects/{projectId}/views | Save a view |
createWorkstation | POST /v1/organizations/{organizationId}/workstations | Create a workstation |
requestEmailChange | POST /v1/me/email-change | Request an e-mail address change |
updateWorkstation | PATCH /v1/organizations/{organizationId}/workstations/{workstationId} | Rename a workstation or change its projects |