Problem with HTML export

  • 9 December 2020
  • 2 replies

Badge +2

Hello everyone, I'm encountering a problem when exporting my email templates within the shopify notifications. When I copy the klaviyo HTLM link, this error message appears. 

Hoping to find an answer, thank you very much. 




Best answer by David To 21 April 2021, 16:48

View original

2 replies

Userlevel 5
Badge +10

Hi @Romain Rowland, just so I get the situation correct, you are trying to export email templates from Shopify and import them into Klaviyo or is it the other way around?

I can say that typically, the unknown tag ‘endif’ usually is a case of an {% endif %} tag that should not be in the template. 

Userlevel 7
Badge +60

Hey @Romain Rowland,

As @Paul S, had highlighted, with that error message you are receiving is often times caused by a {% endif %} tag being present within the HTML without a corresponding “if” statement causing the HTML logic to be broken. This can often times be resolved by locating this {% endif %} and either removing it if it doesn’t belong or finishing the logic by providing a corresponding “if” statement as part of the code.

A similar topic for this case can also be found below to provide more insight into this subject matter: