When you get an error message, it usually refers to a specific field in your template or general issue which helps you troubleshoot. If you get an error message and not sure where it is coming from, it helps to clone the document action/google doc template and paste one field at a time, then test generating document until you can find which field(s) are causing the error message. Then you can focus on that field and better be able to figure it out.