I have an existing e-mail template in Content/Design section. I have created transactional e-mail out of this template and have been sending it for a few months.
I wanted to update template, by changing some text, and I am getting this errors when I click on “Publish changes” button:
1. Error:Cannot resolve property
2. Warning:0:-1The template does not contain the module email_body, it will not work for blog/rss emails
Changes in the template do not get reflected in e-mail anymore, and I am effectively blocked.
How do I fix this problem?
Hi @DNovosel,
The error specifically indicates that your template is missing the required “email_body” module. If you accidentally removed the module, you must add it back to the template.
No, I did not remove it, I created template without it maybe a year ago. Seems that Hubspot changed some requirement in the meantime.
I could not figure out from the documentation where to add that tag. Can you point me to a specific example of template having that tag set?
Where
Hi @DNovosel,
When you edit your template in the design manager, you will need to add this module for the email body in your email template:
{% module "email_template_main_email_body" path="@hubspot/email_body" label="Main Email Body" %}
You can see an example of this is used when you create a new email template: first select HTML & HubL, then select “Email” as the Template type