An error occurred (InvalidParameterValue) when calling the CreateCustomVerificationEmailTemplate operation: The success redirection URL is invalid.

0

I'm trying to create a new SES CustomVerificationEmailTemplate using the CLI.

aws ses create-custom-verification-email-template --template-name "NewTemplate" --from-email-address help@donorpoint.com --template-subject "Please confirm your email address" --template-content "<html>  <body > <h1 >POST</h1> </body> </html>" --success-redirection-url "https://test.gobigriver.com/admin/SESConfirm.html" --failure-redirection-url "https://test.gobigriver.com/admin/SESConfirm.html"

I am receiving the error:

An error occurred (InvalidParameterValue) when calling the CreateCustomVerificationEmailTemplate operation: The success redirection URL is invalid.

The URL is valid. I cannot even recreate an existing valid template using its current data from the CLI.

ron0
asked 3 months ago95 views
1 Answer
0

Hello, I have reviewed the AWS CLI command and I can confirm that the CLI command is correct and there are no errors in the CLI command. With same command I was able to create custom verification email template without any issues. Since the issue cannot be replicated hence I would request you to please reach out to the AWS Premium Support/Technical support via a support case and please include the output of below command with debug option over the support case.

aws ses create-custom-verification-email-template --template-name "NewTemplate" --from-email-address help@donorpoint.com --template-subject "Please confirm your email address" --template-content "<html>  <body > <h1 >POST</h1> </body> </html>" --success-redirection-url "https://test.gobigriver.com/admin/SESConfirm.html" --failure-redirection-url "https://test.gobigriver.com/admin/SESConfirm.html" --debug

Note: For security reasons sharing AWS CLI debug output over public forum is not recommended. Also for faster resolution I would request you to please reach out to the AWS Premium Support since Premium Support have access to CloudTrail logs to review the parameters received for an API call made via AWS CLI.

AWS
SUPPORT ENGINEER
Lakshay
answered 2 months ago
profile picture
EXPERT
reviewed 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions

Relevant content