question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to deploy email template; 'verify_email_by_code'

See original GitHub issue

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.json to 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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pmalouincommented, Jan 28, 2021

@Jelle-vz Fix is available starting with auth0-deploy-cli@5.5.0+ ✔️ thanks for your patience

1reaction
pmalouincommented, Jan 20, 2021

Do you have any indication on when we can expect the cli-tool to be updated?

Things are in motion, but we have some quality review cycles to go through before we publish it. It can go fast if I can get some eyes on this, but could take a few days if people are busy.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Email Verification Failed · Issue #734 · FusionAuth ... - GitHub
I have deployed an instance of FusionAuth to AWS ECS service. I configured FusionAuth Application. OAuth and Email template for registration ...
Read more >
Email templates sending email test not working
Hi Sandrine, Please try this !! Go to your Email Template that you would like to test and click on the Send Test...
Read more >
Verification Email Templates (Copy&Paste) | LiveAgent
A verification email template is sent to a user after they have taken a certain action. Get inspired and better with our free...
Read more >
SendCustomVerificationEmail - Amazon Simple Email Service
Indicates that a custom verification email template with the name you specified does not exist. HTTP Status Code: 400. FromEmailAddressNotVerified. Indicates ...
Read more >
How to change Verify account email template which triggers ...
When a new user is created in salesforce a verification email is getting triggered to verify the email ID. This is working perfectly...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found