OSPRIDocs
Developers

Understand errors and retries

Know when to fix the request, sign in or check saved work.

ResponseMeaningNext step
400The request is malformed or missing required contextCheck the example and fields
401Sign-in/token failedCheck expiry, issuer, audience and required scope
403You are signed in but cannot do thisCheck workspace, role and app grant
404No accessible record at that IDConfirm the ID and account; another user's record may intentionally appear missing
409The operation conflicts with current stateRe-read the run; for example, wait for a stop before resuming
413Input is too largeUse the supported upload or smaller request
422A field or scientific request is invalidRead the validation details
429Too many requestsRespect the supplied retry delay
502/503A required service is unavailableWait, check status and retry a read carefully

Reads can use bounded retries with backoff. Do not blindly retry a start, resume, decision or external write after a timeout. First inspect saved work to learn whether it happened. Reuse an operation's documented idempotency identifier where supported. An arbitrary Idempotency-Key header is not proof that an endpoint implements deduplication.

Keep the run ID and a sanitized error in your logs. Do not log tokens or full private scientific inputs by default.