Validation reports the first problem it finds, so
param always names one field. Fix it and send the request again to find the next one.
The API uses only the statuses below. A request that is well formed but can’t be carried out in the current state returns 409.
Error types
Common codes
These codes can come from any endpoint. Each endpoint’s page lists the codes specific to it.Conflicts
A409 means the request is valid but the current state doesn’t allow it. Each endpoint’s page lists its conflict codes. Some are worth retrying once the state changes, such as job_generating and round_guide_generating; others need a different request, such as job_external_id_exists or job_closed.
Not found
resource_missing names the id that wasn’t found in param: the path parameter’s name, such as id or job_id, or the body field that held it, such as workflow_id or rounds[0].template_id. Ids are scoped to your company, so another company’s id is not found too. A path that matches no endpoint returns 404 route_not_found.
Handling errors
- Treat
4xxresponses as final, except409idempotency_request_in_progressand429. Fix the request before you send it again. - Retry
5xxresponses and network errors with exponential backoff. Send the sameIdempotency-Keyon each retry so the work happens once. - A new
codemay be added at any time. Fall back totypewhen you don’t recognise acode. - Log the
request_id. It lets support find your request.