When creating your new coded template did you select Template or Template Partial? If you selected Template instead of Template Partial Hubspot is expecting your full template code, including the required {{ standard_footer_includes }} directly before the closing body tag.
Matthew Shepherd
Freelance HubSpot Consultant CRM Consultant | SEO Specialist