Can’t find end of region in document

A common error is when the document assembly engine can’t find the end of a region in the document. A region is the section of a document that begins with TableStart or IfStart and ends with TableEnd or IfEnd. Everything within these sections is considered a single ‘region’.

A couple of key rules are:

You cannot have the start and end of a region across a new ‘section’ of a document. In this context we are referring to the Word document section, i.e. that you create by inserting a ‘section break’ into your document.

You also cannot have one part of a region in a Word table and the other part outside the Word table, i.e. the entire region needs to start and end within the Word table.