Skip to main content
Onlyform returns JSON error objects with a stable machine-readable code, a human-readable message, and a request_id.

Error shape

The details field appears only when the API has additional structured validation information.

HTTP statuses

Request IDs

Every API response contains an X-Request-ID header. Error bodies repeat it as request_id. You may provide your own X-Request-ID when it contains 1–100 letters, numbers, periods, underscores, or hyphens. Otherwise, Onlyform generates one.
Log request IDs at service boundaries. Include the ID when contacting support about a failed API call.

Retry safely

Retry 429 and transient 5xx responses with bounded exponential backoff and jitter. Respect Retry-After when present. Do not automatically retry:
  • Validation failures.
  • Authentication or authorization failures.
  • Permanent deletes unless your application has confirmed the desired outcome.
  • Form updates after a 412 until you fetch the latest ETag.
Successful DELETE operations return 204 No Content. Do not attempt to parse a JSON body from a 204 response.