sign.ytDocs

Reference

Error codes reference

The specific code values you are most likely to see on the public API. The envelope and the generic per-status codes are described in Errors.

This list is not exhaustive and new codes are added over time. Handle unknown codes by HTTP status.

Authentication and access#

CodeStatusMeaning and fix
unauthenticated401Missing, invalid, revoked or expired key, or the key's creator left the organization. Create a new key.
insufficient_scope403The key lacks the scope for this method and path. message names it (for example Missing scope documents:write).
ip_not_allowed403The key has an IP allowlist and the request came from another address (named in message). Call from an allowed address or edit the list. Restrict a key to IP addresses
forbidden403The endpoint is not available to API keys, the creator's role is not sufficient (for example webhooks need an organization admin), or a key was used on another organization's custom domain.
document_forbidden403Only the document creator or an organization admin may read signing links.
template_forbidden403The template is not shared with the key's creator.
template_public_link_forbidden403Only organization or team admins can enable public links.
flow_forbidden403The key's creator cannot access this flow.
email_not_verified403The sender (key creator) must confirm their email address before sending.

Plan and quota#

CodeStatusMeaning and fix
feature_not_in_plan402The plan does not include the feature in extra.feature (for example api_keys, webhooks). Upgrade in Billing.
documents_per_month402Monthly document quota reached; extra has current and limit.
sms_not_in_plan402SMS verification is not in the plan. Use EMAIL_OTP or upgrade.
sms_quota_exceeded402Monthly SMS allowance used up; extra has current and limit.
subscription_past_due402The organization is read-only until the subscription is paid.
storage_quota_exceeded413Storage limit reached. Delete old documents or upgrade.
invite_daily_cap429Daily invitation cap for new self-serve organizations on managed email.

Documents#

CodeStatusMeaning and fix
document_not_found404No such document in your organization (or it is not visible to the key's creator).
recipient_not_found404The recipient ID does not belong to this document.
document_not_draft409Fields can only be changed while the document is a DRAFT.
document_not_pending409Reminders and signing links need a PENDING document.
document_not_cancellable409Only DRAFT or PENDING documents can be cancelled.
recipient_not_correctable409The recipient already signed or was finalized.
recipient_not_invited409The recipient has no active invitation (not their turn yet, or already done).
document_no_signers422Add at least one SIGNER or APPROVER before sending.
signer_missing_signature_field422Every signer needs a SIGNATURE field; the message lists the emails.
field_recipient_invalid422A field's recipient_id is not a recipient of this document.
invalid_pdf, pdf_sanitize_failed422The PDF could not be parsed or safely processed. Re-export it (for example "Print to PDF").
team_not_found, folder_not_found422team_id or folder_id is not valid for your organization.
qes_disabled422A recipient uses the QES signing method but qualified signing is not configured for the organization.
invalid_cursor422The pagination cursor is malformed; restart from the first page.

Templates#

CodeStatusMeaning and fix
template_not_found404No such template in your organization.
template_no_signer, template_roles_incomplete409The template's recipient slots are not set up for this use (for example no signer slot, or a role without a person).
invalid_recipient_index, fields_out_of_range422A field points at a recipient slot or page that does not exist.
invalid_team422The team is not valid for this template.
phone_required422The template requires a phone number for the signer.

Flows#

CodeStatusMeaning and fix
flow_not_found, flow_run_not_found404No such flow or run in your organization.
flow_not_published, flow_not_runnable409Publish the flow (and make sure it is active) before starting runs.
flow_run_finished, flow_run_conflict409The run already finished, or changed while you acted on it.
approval_not_pending409No approval is waiting at that step.
flow_invalid422The flow definition has errors; extra.errors lists them by step.
trigger_template_required422Trigger document_completed_of_template needs trigger_template_id.

Requests#

CodeStatusMeaning and fix
validation_error422Schema validation failed; detail lists field errors.
idempotency_key_too_long400Idempotency-Key is over 200 characters.
idempotency_key_reused422The key was already used with a different body. Use a new key. See Idempotency.
payload_too_large413Body over 30 MB, or the document JSON payload over 64 KB.
rate_limited429Over 100 requests per second for this key. Honor Retry-After.