-
Notifications
You must be signed in to change notification settings - Fork 168
Closed
Description
Description
When adding the email template for 'verify_email_by_code' to the deployment directory, the pipleline fails, saying:
2021-01-06T13:04:19.197Z - debug: Error: Schema validation failed loading [
{
"keyword": "enum",
"dataPath": ".emailTemplates[6].template",
"schemaPath": "#/properties/emailTemplates/items/properties/template/enum",
"params": {
"allowedValues": [
"verify_email",
"reset_email",
"welcome_email",
"blocked_account",
"stolen_credentials",
"enrollment_email",
"change_password",
"password_reset",
"mfa_oob_code"
]
},
"message": "should be equal to one of the allowed values"
}
]Reproduction
- Add email template
verify_email_by_code.html&verify_email_by_code.jsonto emails directory - deploy to a tenant using the
auth0-deploy-cli(using v6.0.0) - Check debug log.
Environment
- "auth0-deploy-cli": "^6.0.0"
- Gitlab deployment pipeline
Metadata
Metadata
Assignees
Labels
No labels