Error Codes

Every API error code across all endpoints in one searchable place — HTTP status, code, description, and the remediation action. When you see an errorCode in a logged response, look it up here instead of hunting through the API Reference. Each entry links back to the endpoint(s) where it can occur.

This list is generated from the same per-endpoint error data as the API Reference, so the two views never disagree.

These are request or infrastructure failures. Validation findings from the validate endpoints are returned as 200 OK response bodies, not error codes — see the API Reference for those.

400Client errors

400INVALID_INPUT

The JSON shape or one of its values is invalid.

What to do

Fix the fields listed in errors[] and send the request again.

400UNSUPPORTED_SPEC

The selected syntax or version is not available.

What to do

Use CII or UBL and omit version to select the latest supported release.

400FIELD_REQUIRED

A value needed by AUTO calculation is missing.

What to do

Add the field named in errors[].field, then retry.

400INVALID_INPUT

A multipart part is missing or request JSON is malformed.

What to do

Send both file and request parts, then retry.

400MALFORMED_XML

The uploaded file is not well-formed XML.

What to do

Repair the XML syntax before validation.

400UNSUPPORTED_SPEC

The requested validation version is unavailable.

What to do

Omit version to use the latest active ruleset.

400INVALID_INPUT

The JSON shape or a field value is invalid.

What to do

Fix the fields listed in errors[] and retry.

400UNSUPPORTED_SPEC

The selected syntax or version is unavailable.

What to do

Use CII or UBL and omit version for the latest release.

400MALFORMED_XML

The upload is not well-formed XML.

What to do

Repair the XML syntax before validation.

400INVALID_INPUT

The JSON shape or a value is invalid. config.metadataLanguage is eligible only on this endpoint (rejected with 400 on xrechnung and en16931); unsupported codes such as "fr" or "de-DE" are also rejected here.

What to do

Fix the fields listed in errors[] and retry.

400UNSUPPORTED_SPEC

The version, syntax, or profile is unavailable.

What to do

Use CII and a supported ZUGFeRD profile.

400FIELD_REQUIRED

A calculation input is missing.

What to do

Add the field named in errors[].field.

400MALFORMED_PDF

The upload is not a readable ZUGFeRD PDF.

What to do

Confirm it is a PDF/A-3 with embedded invoice XML.

422Validation failures

422XSD_VALIDATION_FAILED

The generated XML does not match its technical schema.

What to do

Review errors[]; fix the mapped invoice fields or contact support if they were valid.

422SCHEMATRON_VALIDATION_FAILED

The invoice breaks a business rule for the selected standard.

What to do

Use the rule code and field in errors[] to correct the invoice data.

422VALIDATION_FAILED

Post-generation validation rejected the document.

What to do

Fix every validator finding in errors[]; no document was returned.

422VALIDATION_FAILED

The generated XML breaks EN 16931 rules.

What to do

Correct every finding in errors[] and retry.

422VALIDATION_FAILED

The embedded XML breaks its business rules.

What to do

Correct every validator finding in errors[].

422PDF_A3_VALIDATION_FAILED

The generated PDF container failed PDF/A-3 checks.

What to do

Contact support with X-Request-Id; this usually indicates a packaging failure.

429Rate limited

500Server errors

500GENERATION_FAILED

The document pipeline could not complete.

What to do

Retry once. If it repeats, contact support with X-Request-Id.

500GENERATION_FAILED

The validation engine could not start.

What to do

Retry once, then contact support with X-Request-Id.

500GENERATION_FAILED

The generation pipeline failed.

What to do

Retry once, then contact support with X-Request-Id.

500INTERNAL_ERROR

The validator failed unexpectedly.

What to do

Retry later or contact support with X-Request-Id.

500GENERATION_FAILED

The PDF pipeline failed.

What to do

Retry once, then contact support with X-Request-Id.

500GENERATION_FAILED

The validation pipeline could not run.

What to do

Retry once, then contact support with X-Request-Id.

503Service unavailable