Common errors
Missing }
{{IF checkBool("policy_owner.is_person")}}
{{p("policy_owner.first_name")}}
{{END-IF}
There is a " missing in a custom function
{{IF checkBool("policy_owner.is_person")}}
{{p("policy_owner.first_name)}}
{{END-IF}}
Missing a parenthesis
{{IF checkBool("policy_owner.is_person")}}
{{p("policy_owner.first_name"}}
{{END-IF}}
The p function is not correctly closed
IF or END-IF in a table cell
Another common error is to multiply {{IF}} or {{END-IF}} statements in the same cell of a table. That generally causes a timeout when watson does generates his document. The solution is to separate each statement in his own cell / row.
Copy/paste without style
The best practice when having some trouble with a document, is to copy the code, and paste without styles (an option in Word). This is explained by the fact that behind a docx document, it is an xml document, and sometimes copying a text, does copy the messed up xml. And pasting it will keep the faulty xml. Pasting without style should remove invisible characters or glitches.