Skip to main content

form_xfa_unsupported

HTTP 422 · code: "form_xfa_unsupported" · type: https://docs.formfeed.dev/errors/form-xfa-unsupported

The PDF given to /pdf/fill is an XFA form: its fields are described in XML that only a few viewers, Adobe's above all, lay out and fill. Formfeed fills the ordinary forms of PDF (AcroForms), so nothing was filled and nothing was charged. /pdf/info says "type": "xfa" for such a file.

A hybrid form, an AcroForm with an XFA part beside it, is filled: through its AcroForm, its XFA part removed, which the render's form.xfa_removed says.

Example​

{
"type": "https://docs.formfeed.dev/errors/form-xfa-unsupported",
"title": "XFA form not supported",
"status": 422,
"detail": "antrag.pdf is an XFA form, which only its own viewers fill",
"code": "form_xfa_unsupported",
"render_id": "rnd_0d290c45cbeb4554b946bbad1acee87e",
"request_id": "req_4b7c1e9a2f3d4c5b8a6e7f9012"
}

Common causes​

  • A form made with Adobe LiveCycle Designer or AEM Forms as a dynamic form, as some public authorities still publish them.

How to fix it​

  • Ask whoever publishes the form for an ordinary PDF form; many publish both.
  • If the form is yours, save it as a static form, or make it again as an ordinary PDF form.

Retry?​

Not with the same file.