Skip to main content
Contributor I
November 18, 2023
Solved

Can't send a test email

  • November 18, 2023
  • 6 replies
  • 833 views

I am getting an error message when I try to send a test email that says “Message displayed without tags or variables. Fix invalid template tags or variables  to preview the message with actual profiles and events.

I am not sure where the issue is. How would I locate and fix the issue?

    Best answer by bluesnapper

    Welcome to the community @Gracie 

    You get this message when there's an invalid variable in your email. It'll be surrounded by curly brackets {} in the email content or it may be in the display logic if you're using that. Are you able to share the email content here and also what event you are previewing eg, checkout started, order placed etc

    Regards

    Andy

    6 replies

    bluesnapper
    Partner
    Champion & Partner
    November 20, 2023

    Welcome to the community @Gracie 

    You get this message when there's an invalid variable in your email. It'll be surrounded by curly brackets {} in the email content or it may be in the display logic if you're using that. Are you able to share the email content here and also what event you are previewing eg, checkout started, order placed etc

    Regards

    Andy

    https://bluesnapper.com - Klaviyo Champion '24 & Partner
    Spark Bridge Digital LLC
    Partner - Platinum
    2025 Champion
    November 20, 2023

    Hey Gracie!

    Like Andy said, this is almost always due to a curly bracket being in the wrong place or even just being duplicated - like {{{event.product.title}} - because I have three brackets on the left, I’d get a variable error on my entire email. 

    If this is a dynamic email, cross-check all of your variables to confirm!

    Klaviyo Champion | Your Email Marketing BFF
    Contributor I
    January 27, 2025

    Why I am facing this? If you think it is for the size, no. I have checked by other email that size is okay but failed to send test mail. Please suggest me how can I solve this? 

     

    Contributor I
    March 12, 2025

    Hi ​@bluesnapper 

    I’m experiencing the same issue, “Message displayed without tags or variables. Fix invalid template tags or variables  to preview the message with actual profiles and events.” while trying to preview an order confirmation template. I started with Klaviyo’s template for Order confirmation, but it appears they have updated the tagging system but not the template, so all the template tags need to be manually replaced. I’m new to this and not a coder so I’m a bit lost in the sauce here!

    I’ve re-input all the tags between double curly brackets according to the updated documentation provided by their chatbot and still no luck. I’m going to start from scratch and rebuild one section at a time to try to isolate the issue, but I’d love feedback from someone to understand where the problem lies.

     

     

    bluesnapper
    Partner
    Champion & Partner
    March 13, 2025

    Hi ​@megdise 

    A few questions:

    • What ecomm platform are you on? Shopify?
    • Did you add those variables? Usually Klaviyo’s order template uses the ecomm platform’s variables so the email would be sent from that platform and not from Klaviyo.

    Regards

    Andy 

    https://bluesnapper.com - Klaviyo Champion '24 & Partner
    bluesnapper
    Partner
    Champion & Partner
    March 21, 2025

    Hi ​@megdise 

    Did you get your issue resolved?

    Regards

    Andy

    https://bluesnapper.com - Klaviyo Champion '24 & Partner