Field-Viewer API

All errors

legal.version_outdated

A newer version of the legal documents has been published

HTTP status
409
Problem type
https://api.field-viewer.com/problems/legal.version_outdated
Catalogue
Domain-specific

What it means

A newer version of the legal documents has been published.

What to do

The request conflicts with the resource's current state. Read the resource again and retry with up-to-date input.

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/legal.version_outdated",
  "title": "A newer version of the legal documents has been published",
  "status": 409,
  "detail": "A newer version of the legal documents has been published",
  "instance": "/v1/organizations/{organizationId}/legal-acceptances",
  "code": "legal.version_outdated",
  "requestId": "req_01jcz3k8m4f6a9t2x7v5q0wbne"
}

Returned by

OperationRequestSummary
acceptLegalDocumentsPOST /v1/organizations/{organizationId}/legal-acceptancesAccept the current legal documents for an organisation
claimTryoutPOST /v1/tryouts/claimKeep a tryout in the caller's existing account
convertTryoutPOST /v1/organizations/{organizationId}/tryout/convertKeep a tryout as an ordinary organisation
createOrganizationPOST /v1/organizationsCreate an organisation
updateMePATCH /v1/meUpdate the current user's profile