Errors
Invalid Field Type
A DOCX template conditional received a value that is not true or false. Send real booleans, not strings, in the document's data.
What Happened
A conditional in a DOCX document template received a value that is not a boolean. In the detail property, documents[0] is the first item of the documents array.
Example response
422 Unprocessable Content (application/problem+json)
{
"type": "https://signatureapi.com/docs/v1/errors/invalid-field-type",
"title": "Invalid Field Type",
"status": 422,
"detail": "documents[0] contains a value that was expected to be a boolean, but it is not."
}How to Fix
- Send
trueorfalseas JSON booleans in the document’sdata, not the strings"true"or"false". - Find the conditional tags in the DOCX and check that each one gets a boolean in
data. - See Conditionals for how template conditionals read their values.
Still stuck? Contact support.