Error Signing Up, Email: the attribute is required


I am trying to set up authentication using AWS.
After entering username, password, email, and clicking Sign Up, I got an error message that says
“error signing up, Attributes did not conform to the schema, email: the attribute is required”

In AWS Cognito, the options I selected in my User Pool were that the
1.) Username-users can use a username and optionally multiple alternatives to sign up and sign in.
2.) Under the standard attributes required, I selected email.

Bits of my Code:


When you created your user pool, you selected the required attributes, is email ticked in your personal pool?

For signin, you need to activate the username sign in in AWS! Directly from your user pool.

enter image description here

I think you forgot an s to attribute:

Here is my working code:

Leave a Reply