Skip to main content
Solved

Problem with HTML export

  • December 9, 2020
  • 2 replies
  • 450 views

Forum|alt.badge.img+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

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:


-David

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

Forum|alt.badge.img+10
  • Klaviyo Employee
  • 101 replies
  • December 11, 2020

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. 


David To
Klaviyo Employee
Forum|alt.badge.img+60
  • Klaviyo Employee
  • 2456 replies
  • Answer
  • April 21, 2021

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:


-David