Json template parsing error

I am receiving the following error when I run my flow and at a loss for what might be causing it or where to look. My input looks fine when I preview it on the S3 import step, however, at run time it always throws the same error. I also had a similar error when trying to do this via XML (XML parsing error). Any ideas what might be causing this error and what to do to fix it?

Message:
{{# each batch_of_records}} not found in the template.

Code: json_template_parsing_error

Source: Resource

Timestamp: 2024-10-29T18:58:41.475Z

Error ID: 1285698224

@daveguderian I would go through this and see if it answers what you need: https://connective.celigo.com/t/error-footer-not-found-in-the-template-when-saving-json-file-to-ftp/74.

Thanks Tyler! That was super helpful!