Errors

Error codes

When a call fails, the body is a problem document. Match the code field. The HTTP status is in the same body, and request_id is the id to quote if you ask for help. Retry only the cases in Errors and retries.

Invalid JSON. The request body is not valid JSON.

Listed on Problem.code.

Unauthenticated. Missing or invalid API key.

Forbidden. This key does not have the orders:write scope.

Account not allowed. client_account_id is not allowed for this key.

Order not found. No order with this id is visible to this key.

Listed on Problem.code.

Validation failed. Validation failed for applicant.last_name.

Listed on Problem.code.

Document too large. A document is larger than 4194304 bytes.

Listed on Problem.code.

Duplicate order. An order with this external_reference already exists for this account.

Idempotency conflict. This Idempotency-Key was already used with a different request body.

Request in progress. A request with this Idempotency-Key is still in progress.

Too many requests. Status was refreshed less than 5 minutes ago.

Not implemented. Send entry_mode full. entry_mode applicant is not supported.

Service unavailable. The service is busy. Retry after the indicated delay.

Request timed out. The request timed out.

Listed on Problem.code.