- Newest
- Most votes
- Most comments
The error you're encountering, "email_verified: Attribute cannot be updated," is not a standard AWS error message for account verification. It appears to be related to a specific application's signup process rather than AWS Cognito account creation directly.
Upon signing up a Cognito user, Cognito can automatically send email and verify the user based on the userpool configuration. From the screenshot provided, it seems like you are signing up a user in your application and then Cognito sent verification code to the email.
The email_verified attribute that indicates whether a user's email address has been verified can change in the following situations:
-
A user updates their email address. When a user updates their email address, Amazon Cognito changes the email_verified attribute to unverified.
-
An email address is configured as an alias. Then, a user with a duplicate email address is created. When an email address is set as an alias, only one user can hold the email address value as the email_verified attribute. If the newer user's account confirmation succeeds, then the email address alias is transferred to the newer user. The former user's email address is then unverified. For more information, see User pool attributes and review the Customizing sign-in attributes section.
To troubleshoot the issue further, you may need to contact AWS Support directly. You can do this by:
- Submitting a new support request with detailed information about your issue. Please share information like your userpool id, application sign up process, verification method etc. to the support ticket.
Sources
How do I troubleshoot issues with an Amazon Cognito user's email_verified attribute? | AWS re:Post
