Skip to main content
Solved

Can't send a test email

  • November 18, 2023
  • 3 replies
  • 460 views

Forum|alt.badge.img+1

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

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

3 replies

bluesnapper
Partner
Forum|alt.badge.img+45
  • Champion & Partner
  • 728 replies
  • Answer
  • 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


Spark Bridge Digital LLC
Partner - Gold
Forum|alt.badge.img+33

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!


Forum|alt.badge.img+1
  • Contributor I
  • 2 replies
  • 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?