Documentation menu

Reference

Handle transport, plan, and provider failures separately.

Veritas errors combine middleware failures, route validation, upstream provider behavior, and asynchronous delivery states.

HTTP status guide

StatusMeaningClient action
400Invalid requestCorrect fields before retrying.
401Missing API keyAttach x-api-key.
402Plan or credit restrictionUpgrade, wait for reset, or change workspace.
403Invalid key or missing permissionCheck key activity and permissions.
404Resource or provider receipt not foundConfirm identifiers before retrying.
409Duplicate or conflicting stateRead the existing resource and reconcile.
422Receipt found but verification/matching failedReview amount, destination, or receipt data.
429Rate limit exceededWait for the limiter window and retry with backoff.
500/502Server or upstream provider failureRetry cautiously and preserve the response for support.

Retry safety

GET resource reads are generally safe to retry. A verification retry can consume another rate-limit unit and another credit. POST create/confirm operations do not expose a universal idempotency key guarantee.

Provider failures

Some provider adapters return success: false with HTTP 200. Build a shared helper that rejects either a non-2xx status or an explicit failed body.