PRECONDITION_FAILED

Refresh a resource and reconcile a failed Ovok request precondition.

HTTP 412. Problem type: https://docs.ovok.com/errors/precondition-failed.

What this means

A condition included with the request no longer matches the resource's current state. The precondition prevented the operation from applying against stale or unexpected data.

Troubleshooting

Read the resource again and compare its current version or other documented condition with the value sent in the request. Identify changes made since that value was obtained, then reconcile them with the change you intended. Do not remove the precondition simply to force the update; it protects against overwriting newer data.

Retry safely

Build a new request using the current condition specified by the endpoint documentation and submit it once. If the condition fails again, another update may be occurring; reread and reconcile before trying again.

If the problem persists

Share the HTTP status, problem type, request path, response timestamp, and traceId with your administrator or support contact. Do not include access tokens or sensitive patient data. The Error responses guide explains the response fields and field-level errors.

Last updated on

On this page