An Authy or Verify email integration missing placholders may return the error SendGrid template does not contain required placeholders
. This guide explains why this error occurs, and how to resolve it.
Cause
This error message usually due to the SendGrid Dynamic template missing at least one of the following placeholders:
{{twilio_code}}
{{twilio_message}}
{{twilio_message_without_code}}
Resolution
You can check the template and edit it if it does not have the proper placeholders:
- Log into SendGrid UI.
- Go to the Dynamic Templates page on SendGrid.
- Under 'Template', click the desired template's name to see the versions available.
- Click the desired template version to edit it.
- Under "HTML", verify your template has the necessary placeholders
{{twilio_code}}
,{{twilio_message}}
, and{{twilio_message_without_code}}
.- If any of these placeholders are missing, add them to the template, and then click Save.
- Save the email integration configuration on the Twilio Console.