API errors

402 Draft allowance exhausted

https://sealdeal.ai/errors/draft-allowance-exhausted

A rewrite would write a new draft, and the organization's draft allowance (its plan's emails, or the free trial) is used up, or Outbound is not active for it. Nothing was generated.

Retry only after changing the request

What causes it

  • POST /drafts/{id}/regenerate after the draft allowance for the period, or the trial, ran out.

How to fix it

  • An admin raises the allowance by upgrading the plan or adding the Outbound module; `detail` says which applies.
  • Approve, reject or edit the existing draft instead: none of those spend the allowance.

Example response

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

{
  "type": "https://sealdeal.ai/errors/draft-allowance-exhausted",
  "title": "Draft allowance exhausted",
  "status": 402,
  "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: 404 Not found · 400 Bad request · 405 Method not allowed · 415 Unsupported media type · 409 Conflict · 422 Idempotency key reused · 409 List has in-flight sequences · 422 Stage gate not met · 422 Deal has no primary contact · 422 Contact is excluded · 402 No actions left