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 6 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. 404, 405 and 409: the thing asked for
  17. not_found
  18. method_not_allowed
  19. system_not_live
  20. certificate_required
  21. certificate_revoked
  22. listing_not_eligible
  23. scheme_not_supported
  24. document_signing_suspended
  25. pdf_already_signed
  26. pdf_encrypted
  27. pdf_a_not_supported
  28. pdf_hybrid_not_supported
  29. idempotency_key_reused
  30. idempotency_in_progress
  31. 413 and 415: the content
  32. content_too_large
  33. content_type_not_supported
  34. format_not_supported
  35. unsupported_media_type
  36. 429 and 5xx: try again
  37. rate_limited
  38. overloaded
  39. api_unavailable
  40. api_timeout
  41. api_error
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.

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.

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. 404, 405 and 409: the thing asked for
  17. not_found
  18. method_not_allowed
  19. system_not_live
  20. certificate_required
  21. certificate_revoked
  22. listing_not_eligible
  23. scheme_not_supported
  24. document_signing_suspended
  25. pdf_already_signed
  26. pdf_encrypted
  27. pdf_a_not_supported
  28. pdf_hybrid_not_supported
  29. idempotency_key_reused
  30. idempotency_in_progress
  31. 413 and 415: the content
  32. content_too_large
  33. content_type_not_supported
  34. format_not_supported
  35. unsupported_media_type
  36. 429 and 5xx: try again
  37. rate_limited
  38. overloaded
  39. api_unavailable
  40. api_timeout
  41. api_error