You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a copy of a troubleshooting article on Supabase's docs site. It may be missing some details from the original. View the original article.
If your email templates are not updated, check Auth Logs for any errors when the email is sent. When there are errors, we will use a fallback template with valid syntax so it will not show any of your customizations.
Typical errors relate to invalid syntax involving variables. Refer to the Email Templates docs for the supported variables and syntax.
Example error message
"event": "templatemailer_template_body_parse_error",
"msg": "templatemailer: template type \"recovery\": template: https://api.supabase.com/platform/auth/PROJECT_ID/templates/recovery:2: function \"default\" not defined",
The error shows an issue with default which is used in the invalid syntax below.
{{ .Data.display_name | default: "test" }}
The final correct syntax after removing invalid syntax.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
This is a copy of a troubleshooting article on Supabase's docs site. It may be missing some details from the original. View the original article.
If your email templates are not updated, check Auth Logs for any errors when the email is sent. When there are errors, we will use a fallback template with valid syntax so it will not show any of your customizations.
Typical errors relate to invalid syntax involving variables. Refer to the Email Templates docs for the supported variables and syntax.
Example error message
The error shows an issue with
defaultwhich is used in the invalid syntax below.The final correct syntax after removing invalid syntax.
All reactions