Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From address cannot be set without an enabled email provider #996

Closed
6 tasks done
bennycode opened this issue Dec 3, 2024 · 3 comments
Closed
6 tasks done

From address cannot be set without an enabled email provider #996

bennycode opened this issue Dec 3, 2024 · 3 comments
Assignees
Labels

Comments

@bennycode
Copy link

Checklist

  • I have looked into the README and have not found a suitable solution or answer.
  • I have looked into the documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have upgraded to the latest version of this tool and the issue still persists.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

I am using the Auth0 Email Provider (not the Custom Email Provider) and configured some email templates with a from address.

I can download my Auth0 config successfully using a0deploy -c=config.json export --format=yaml but when I want to upload my download this error appears:

2024-12-03T16:10:55.485Z - error: Problem running command import during stage processChanges when processing type emailTemplates
2024-12-03T16:10:55.485Z - error: From address cannot be set without an enabled email provider.

It is surprising that the behaviour is not deterministic (i.e. I can upload what I downloaded).

Expectation

I can upload what I download.

Reproduction

  1. Given an email template setup
  2. While not having a custom email provider setup
  3. Then the upload of the tenant.yaml crashes

Deploy CLI version

8.3.0

Node version

20.17.0

@bennycode bennycode added the bug label Dec 3, 2024
@kushalshit27
Copy link
Contributor

kushalshit27 commented Dec 7, 2024

Hi, @bennycode
Thank you for reporting this issue! It seems that there was a bug in the email provider, which is fixed now 'Email Provider'.

Please try version 8.3.0. I would appreciate you test this out and if problem still persists, we can re-evaluate.

@kushalshit27
Copy link
Contributor

Hi, @bennycode,
Issue is generated by emailTemplates due to disabled emailProvider.

This is a validation , if emailProvider is not enabled, it is not allowed to update emailTemplates from key.

You can still update emailTemplates by removing from key-value.

Let me know if you have any questions. Thanks.

@kushalshit27
Copy link
Contributor

Recent updates might have addressed this issue. We are closing it as stale. If the problem persists, please reopen the issue and provide more details. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants