Resource_name Variable Not Resolving in Auth0 User Invitation Email Templates

Overview

This article explains why the resource_name variable fails to resolve in the default user invitation email template and provides the steps to replace it with a supported variable. The following internal placeholder may appear in the boilerplate HTML instead of a valid variable:

 

resource_name

 

Applies To
  • User invitation email templates
  • Liquid syntax variables
Cause

The resource_name variable is not a valid Liquid variable. This issue occurs within the dashboard when the backend fails to map correct variables into the boilerplate HTML during template generation or resets, injecting a raw internal placeholder instead. Because the email rendering engine does not recognize this placeholder, it resolves to a blank space when the email is sent.

Solution

To resolve this issue, manually delete the resource_name placeholder from the HTML body of the template and replace it with a supported variable.

  1. Identify the appropriate replacement variable based on the invitation context:

  2. Enter the chosen variable into the HTML body of the email template.

  3. Select Save to apply the changes.

For more details regarding the supported Liquid Syntaxes, visit the Supported Liquid Syntax documentation.

Recommended content

No recommended content found...