form_field_unknown
HTTP 422 · code: "form_field_unknown" · type: https://docs.formfeed.dev/errors/form-field-unknown
/pdf/fill named a field the form does not have. The call was strict, which is the default, so nothing was filled and nothing was charged. field gives the name as you sent it. Fields are named by their full name, its parts joined by dots, as /pdf/info lists them.
Example
{
"type": "https://docs.formfeed.dev/errors/form-field-unknown",
"title": "Unknown form field",
"status": 422,
"detail": "The form has no field named \"customer.nme\"",
"code": "form_field_unknown",
"field": "customer.nme",
"render_id": "rnd_0d290c45cbeb4554b946bbad1acee87e",
"request_id": "req_4b7c1e9a2f3d4c5b8a6e7f9012"
}
Common causes
- A typo, or a name from another edition of the form.
- A short name where the form nests its fields:
namefor a field the form callscustomer.name.
How to fix it
- List the form's fields with
/pdf/infoand take the names fromform.fields. - Send
strict: falseto leave names the form lacks out: the render'sform.skippedlists them with the reasonunknown.
Retry?
Not with the same request: the form has no field of that name.