Hi @getlikeminded,
Thanks for sharing this question with us.
A syntax error refers to one of the dynamic tags within the template that you are trying to use to populate data in the email. I recommend checking both the mobile and desktop versions of your template, check all dynamic tags i.e. coupon code syntax (if applicable), the unsubscribe tag, any additional tags you added into the template. I also recommend testing by previewing the email to see if any more specific errors appear when you’re testing (that will help point us in a clearer direction).
We have a community thread that you may find helpful below:
and also a help center article that reviews the various syntax errors and reasons behind them.
I hope that’s helpful.
Hey Dov,
Thanks for the reply, when I go to generate a preview i get;
Your template contains invalid template tags or filters. Please fix them to create a preview.
This is just the standard Klaviyo back-in-stock email so not sure where to from here.
Hi @getlikeminded,
Thanks for your reply.
Got it. It’s quite unusual to see this error using the “out of the box” template. This may indicate a bug with the template. One last “quick fix” you can attempt is to try cloning the flow email (and try using the clone) or saving the email as a template and re-inserting it into your flow. In theory this wouldn’t change any of the tags but if this is a technical “hiccup” it may resolve it. If you’re still having trouble getting this to work “out of the box”, I recommend looking through the particular tags in your template with a support team member to help identify which tag(s) are causing the problem.
Thanks for being a community member.
Hi Dov,
I figured it out - I had Great News! {{product.title | strip_html}} is now available from {{shop.name}} in the email preview line, it didn’t like that