Skip to content

Why can't I send a verification Email Link in AWS Cognito?

0

I am using AWS cognito in my ionic app to create a user but the default setting is to send a verification code, and it's working, but when i try to change the setting in the cognito console to send a verification link instead of code I get error 400 in the console, and the user is not created. Keep in mind that I am not changing anything in my code, I am just changing the settings in the console

asked a year ago314 views
1 Answer
0

Hi Gio

You've successfully implemented user creation with email verification code in your Ionic app using AWS Cognito. However, upon changing the verification method to a link in the Cognito console, you encounter a 400 error and the user isn't created. This indicates a potential misconfiguration or unexpected behavior within Cognito.

Hope checks these steps to help resolve issue:

  • Double-check Cognito console settings: verification method, email configuration, custom templates.

  • Verify Ionic app code for correct link verification handling.

  • Check IAM permissions, SES status, and Lambda functions if used.

  • Create a new Cognito User Pool to isolate the issue.

  • Enable Detailed Logging: Increase the logging level in your Cognito User Pool to capture more detailed information about the error.

  • Test with Different Email Providers: Try sending verification emails to different email providers to isolate potential issues.

  • Check for Throttling: If you're creating users rapidly, you might be hitting Cognito's throttling limits. Implement retry logic or exponential backoff.

  • Verify Email : Ensure that your email provider or domain is not blocking emails from AWS.

https://medium.com/aws-lambda-serverless-developer-guide-with-hands/amazon-cognito-main-features-user-pools-and-identity-pools-uses-cases-and-how-it-works-20fbe94b1905

EXPERT
answered a year ago
EXPERT
reviewed a year 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.