Back to Troubleshooting Guides

This guide applies to:

  • Basic Edition
  • Plus Edition
  • Pro Edition
  • Business Edition

Introduction

The Notification Messages in SSA use Twig templates to grab information from the Booking Form. When the Twig template isn’t used right, you’ll start to see email message errors.

For example, missing curly brackets or misspellings could cause the customer information to go missing or throw a long Twig error.

Underlining all of the Twig tokens in the default message

What You Might Be Seeing

  • “Twig_Error_Syntax: Unexpected “}” in “template” at line 3. in …”
  • ” {{ customer._info… }} “
  • Missing customer information in the email message

Fixing Errors in Notification Email Message

The first step is to open the Notification causing issues. Go to SSA Settings > Notifications > Click on the notification causing errors.

How to Preview Notification Messages

To easily see how your messages look before saving them, you can preview them using the Live Preview box below the Message field.

And, if you have some existing appointments, you’ll also have the option to Select an appointment so that you can see how the message will look with actual customer information.

Live preview box below the Message field

Checking the Curly Brackets

A common cause for errors is if one of the curly brackets is missing. First make sure that each Twig token has the right amount of curly brackets, like this {{ _token_ }}.

Or, if you’re using a conditional twig, those only require a single curly bracket with a percentage sign, like this {% conditional %}.

Twig token with missing curly bracket

Checking the Tokens for Spelling

Sometimes there are misspellings within the tokens inside the curly brackets, this will cause the information to appear missing. If you go down to the end of the page you’ll see a table of Tokens. Use this to spell-check your Twig templates.

Or, to easily replace a misspelled Twig template, use the Syntax button on the top-left corner. It looks like Tt. This should show you a drop-down menu that’ll let you paste in each token.

Copy and Paste a Default Message

If the message text has too much going on and it’s hard for you to look at and fix. You could copy and paste one of the default messages into your Notification.

Use our Default Notification Templates guide to start writing your message from scratch. These will automatically work and you can start making small changes to customize the message.


Need Help with Advanced Twig or Still Doesn’t Work

Feel free to reach out to our support team if you’re trying to use an advanced and custom Twig template that needs checking or if you’ve tried all the above and your Notification messages still don’t work right.


Still stuck?

File a support ticket with our five-star support team to get more help.

File a ticket

  • Please provide any information that will be helpful in helping you get your issue fixed. What have you tried already? What results did you expect? What did you get instead?
  • This field is for validation purposes and should be left unchanged.

Related Guides