API errors

502 Regeneration failed

https://sealdeal.ai/errors/generation-failed

The model run behind a rewrite failed, so no new version was written and the draft is exactly as it was.

Safe to retry after a backoff

What causes it

  • The drafting model was unavailable or its output failed every quality check.

How to fix it

  • Retry the same request after a short wait. The draft id you called with is still the live one.

Example response

HTTP/1.1 502
Content-Type: application/problem+json

{
  "type": "https://sealdeal.ai/errors/generation-failed",
  "title": "Regeneration failed",
  "status": 502,
  "detail": "..."
}

`type` is stable and safe to branch on in code. `detail` is specific to your request and is the field to read for the particulars; its wording may change.

All error types · API documentation · Integrations

Related errors: 503 Erasure is not configured · 503 File storage not configured · 500 Internal error