MS Word Template Mail Merge in Node.js using Aspose.Words RESTful API

I am getting this error
‘Mail merge region 'data' is badly formed. TableStart and TableEnd should be in the same section, same table row or same table cell.’

I am using your invoice template of mail merge example, its working fine but when i tried to recreate the template with same kinda data. It is giving the above error.

i have set templatewithregion as true, and the data is kinda similar which you’ll have provided

and the template

my template is similar to this

@yogibittint

Thanks for your inquiry. Please share your data along with the template file, we will investigate the issue and will guide you accordingly.

Thanks sir, solved the issue. It was cause of dividing the word document into sections/columns.

1 Like