[Doc Merge] - Error: Cannot read properties of undefined (reading 'contents')

Hi!

I have problems generating documents via Doc merge! Either the document stops being generated halfway or I get this error message: Cannot read properties of undefined (reading 'contents').
The template I'm using is very simple with just the {name}. 

Has anyone got this error and knows what it is due to? And how to fix it?

Would be very happy if someone could bring me some clarity to this problem! :)


Best regards, Micaela