# Errors

> widar marks AI output for the EU AI Act and California's AI Transparency Act: an invisible watermark and a signed C2PA credential on text, images, audio and video, in one API, by Bynn Intelligence.

Documentation index: https://widar.com/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.

Section: API reference. URL: https://widar.com/docs/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

**An error**

```json
{
  "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](https://widar.com/docs/certificates/domains).

### `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](https://widar.com/docs/detection/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.
