Solved

Can't send a test email

  • 18 November 2023
  • 2 replies
  • 168 views

Badge

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?

icon

Best answer by bluesnapper 20 November 2023, 11:16

View original

2 replies

Userlevel 7
Badge +37

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

Userlevel 6
Badge +31

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!

Reply