Skip to content
Docs
Ask the assistant
Sign inCreate a free account
Get startedMark and signCertificatesDocumentsCheck and recoverComply and proveAPI referencePricing and data

The API

  • Introduction
  • Errors

Events

  • Webhooks
  • Events
  • Realtime

Tools

  • CLI
  • SDKs
  • Agent prompts
  • API logs

Workspace

  • Workspace overview
  • Workspace
  • Members
  • API keys
  • Settings
  • Billing and plan
  • Search
  • Assistant

Your account

  • Your account
  • Notifications
  • Inbox

For agents

  • agent-setup.md
  • llms.txt
  • llms-full.txt
  1. Home
  2. Docs
  3. Errors

API referenceThe API

Errors

Every error code the widar API answers, what it means and what to do. A fault that would repeat is a 4xx; only 500 and 503 are 5xx. Every error links here by its code.

Updated December 4, 2026

Ask about this pageRead this page as Markdown
On this page 7 sections
  1. 400 and 422: the request
  2. invalid_input
  3. legal_entity_not_validated
  4. domain_not_validated
  5. marking_failed
  6. test_certificate_only
  7. 401 and 403: who is calling
  8. unauthorized
  9. key_expired
  10. forbidden
  11. key_scope_denied
  12. 402: payment
  13. plan_required
  14. insufficient_credit
  15. payment_grant_exceeded
  16. 402 and 409: plan changes
  17. plan_unchanged
  18. plan_pending
  19. plan_past_due
  20. no_plan
  21. nothing_pending
  22. card_required
  23. payment_declined
  24. payment_action_required
  25. quote_changed
  26. enterprise_by_sales
  27. paid_by_billing_workspace
  28. contract
  29. checkout_pending
  30. 404, 405 and 409: the thing asked for
  31. not_found
  32. method_not_allowed
  33. system_not_live
  34. certificate_required
  35. certificate_revoked
  36. listing_not_eligible
  37. scheme_not_supported
  38. document_signing_suspended
  39. pdf_already_signed
  40. pdf_encrypted
  41. pdf_a_not_supported
  42. pdf_hybrid_not_supported
  43. idempotency_key_reused
  44. idempotency_in_progress
  45. 413 and 415: the content
  46. content_too_large
  47. content_type_not_supported
  48. format_not_supported
  49. unsupported_media_type
  50. 429 and 5xx: try again
  51. rate_limited
  52. overloaded
  53. api_unavailable
  54. api_timeout
  55. api_error
  56. payments_not_configured
An error
{
  "error": {
    "code": "invalid_input",
    "message": "Some fields need changing.",
    "doc_url": "https://widar.com/docs/errors#invalid_input",
    "issues": [
      {
        "field": "content_types",
        "message": "Give at least one of text, image, audio or video."
      }
    ]
  }
}

400 and 422: the request

invalid_input

A parameter is missing or wrong. issues lists each one with its field and what to change.

legal_entity_not_validated

A production certificate needs your legal entity validated first.

domain_not_validated

The certificate’s domain has not passed its challenge, at issue or at a renewal. The current certificate stays valid to its end. See Domain validation.

marking_failed

The output could not be marked and was held back, as the policy fails closed. It is recorded and marking.failed is sent.

test_certificate_only

In test mode a system has a test certificate only; use a live key for production signing.

401 and 403: who is calling

unauthorized

No key, or a key that is not valid. Send Authorization: Bearer with a widar key.

key_expired

The key passed its expiry. Create or roll a key.

forbidden

The key’s scopes or the member’s role do not allow the call.

key_scope_denied

The call needs a signed-in member; an API key may not make it.

402: payment

plan_required

The call needs a paid plan (the Free plan’s files this month are used, or the feature is on Volume or Enterprise) or an add-on such as the compliance pack, which details names. The answer carries a Checkout link and, for an agent, a payment challenge. The public detector’s eleventh lookup of the day without an account answers it too, with the link to a free account. No certificate or domain call ever does.

insufficient_credit

Credit ran out past the grace period. Top up, or let auto reload.

payment_grant_exceeded

A Shared Payment Token was used outside its grant: the amount, the seller or the time.

402 and 409: plan changes

plan_unchanged

The workspace is already on that plan and interval.

plan_pending

A change to the plan is being made, or one already waits for the period’s end. Try again in a moment, or cancel the waiting change first.

plan_past_due

The plan’s last payment failed. Pay the open invoice first; the plan can change once it is paid.

no_plan

The workspace has no paid plan to cancel, resume or change. Choose a plan on Billing and plan.

nothing_pending

No cancellation or change waits for the period’s end, so there is nothing to undo.

card_required

An upgrade is charged on the saved card, and there is none. Add a card on Billing and plan, then try again.

payment_declined

The bank declined the upgrade’s charge. The plan stays as it was.

payment_action_required

The bank asks the card holder to confirm the payment. Open details.url to confirm it; the plan changes once it is paid.

quote_changed

The price changed since the preview. Preview the change again and confirm the new price.

enterprise_by_sales

Enterprise is bought through widar’s sales team, never online. details links to a meeting.

paid_by_billing_workspace

Another workspace pays for this one, so its plan is that workspace’s. Change the plan there.

contract

The workspace’s plan is an Enterprise contract. Ask widar’s sales team about a change.

checkout_pending

A payment page for a plan is already open for this workspace. Finish it or wait a minute.

404, 405 and 409: the thing asked for

not_found

Nothing at this id or address in this workspace and mode.

method_not_allowed

The route exists but not with this method.

system_not_live

The system is a draft or retired. In live mode it needs product validation first.

certificate_required

The system has no live certificate.

certificate_revoked

The system’s certificate was revoked. Request a new one.

listing_not_eligible

The member listing cannot be submitted or published: details names what is missing, an active plan, a validated legal entity or a validated domain.

scheme_not_supported

The external scheme is not one widar reads. See External schemes.

document_signing_suspended

Document signing is suspended for the workspace. An owner or admin turns it back on.

pdf_already_signed

The PDF already carries a signature that adding one would break.

pdf_encrypted

The PDF is encrypted or password-protected.

pdf_a_not_supported

widar does not sign PDF/A files, so they keep their PDF/A conformance.

pdf_hybrid_not_supported

A hybrid-reference PDF. Save it again as a plain PDF.

idempotency_key_reused

This Idempotency-Key was used for a different request.

idempotency_in_progress

The first request with this key is still running. Retry after Retry-After.

413 and 415: the content

content_too_large

Over the size limit for its content type.

content_type_not_supported

The system does not make this content type.

format_not_supported

The format cannot carry a credential, and the policy refuses it.

unsupported_media_type

The request’s Content-Type is not one the route takes.

429 and 5xx: try again

rate_limited

Over a limit. Wait the seconds in Retry-After, then retry with the same Idempotency-Key.

overloaded

No room now. Retry after Retry-After.

api_unavailable

widar could not be reached. Retry with backoff.

api_timeout

widar did not answer in time. Retry with the same Idempotency-Key.

api_error

Something failed on widar’s side. It is never billed. Retry, and quote X-Request-Id to support if it repeats.

payments_not_configured

Card payments are not set up on this server, so nothing was charged, saved or changed. Trying again changes nothing until they are.

PreviousIntroductionNextWebhooks

For agents

  • Read this page as Markdown

Start without a browser: POST https://api.widar.com/v1/signups, then the emailed code; or sign in with the CLI, which comes with a widar workspace: widar auth login. The key is read from WIDAR_API_KEY.

  • Agent setup
  • MCP serverhttps://widar.com/mcp
  • Docs MCP serverhttps://widar.com/mcp
  • OpenAPI
  • llms.txt

The examples in these docs use invented companies, such as Lumen Labs B.V., and invented values: none is a real check, mark, signature or certificate.

A product of Bynn Intelligence, Inc.

  • llms.txt
  • agent-setup.md
  • Pricing

On this page

  1. 400 and 422: the request
  2. invalid_input
  3. legal_entity_not_validated
  4. domain_not_validated
  5. marking_failed
  6. test_certificate_only
  7. 401 and 403: who is calling
  8. unauthorized
  9. key_expired
  10. forbidden
  11. key_scope_denied
  12. 402: payment
  13. plan_required
  14. insufficient_credit
  15. payment_grant_exceeded
  16. 402 and 409: plan changes
  17. plan_unchanged
  18. plan_pending
  19. plan_past_due
  20. no_plan
  21. nothing_pending
  22. card_required
  23. payment_declined
  24. payment_action_required
  25. quote_changed
  26. enterprise_by_sales
  27. paid_by_billing_workspace
  28. contract
  29. checkout_pending
  30. 404, 405 and 409: the thing asked for
  31. not_found
  32. method_not_allowed
  33. system_not_live
  34. certificate_required
  35. certificate_revoked
  36. listing_not_eligible
  37. scheme_not_supported
  38. document_signing_suspended
  39. pdf_already_signed
  40. pdf_encrypted
  41. pdf_a_not_supported
  42. pdf_hybrid_not_supported
  43. idempotency_key_reused
  44. idempotency_in_progress
  45. 413 and 415: the content
  46. content_too_large
  47. content_type_not_supported
  48. format_not_supported
  49. unsupported_media_type
  50. 429 and 5xx: try again
  51. rate_limited
  52. overloaded
  53. api_unavailable
  54. api_timeout
  55. api_error
  56. payments_not_configured