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 correctly, you’ll 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.

Screenshot depicting twigs used in a notification, error-free.
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 Messages

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 quickly 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 to see how the message will look with actual customer information.

Screenshot displaying the Live Preview of the notification nestled below the Message field.
Live preview box below the Message field

Checking the Curly Brackets

A common error is caused 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 %}.

Screenshot depicting a missing bracket on a twig, and Twig errors displaying in the live preview.
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 quickly 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 letting you paste each token.

Screenshot depicting where the Syntax Button is.

Copy and Paste a Default Message

If the message text has too much going on, 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 begin making minor changes to customize the message.


Need Help with Advanced Twig or Still Doesn’t Work

Feel free to contact 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 correctly.


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