Status codes
Error response shape
code— stable machine-readable identifier. Safe to switch on.message— human-readable, may change wording.details— optional, present for validation-type errors.request_id— include when reporting issues to support.
Common error codes
Retry strategy
Idempotent reads
GET requests can be retried freely. Use exponential backoff (starting at 500ms, capped at 30s) on transient errors.Non-idempotent writes
POST / PUT / PATCH / DELETE — include an Idempotency-Key header (UUID). Denialbase will dedupe retries of the same key within a 24-hour window.Idempotency example
Reporting errors
When reporting an error to support, include:- The
request_idfrom the error response (most useful). - The endpoint and method.
- The approximate time (ISO 8601 with timezone).
- What you expected to happen.