In the guide here, as they suggest, we need to set Username attributes to email, but when I do it, I am not able to create my User Pool. Then, I keep getting this error.
1 validation error detected: Value '' at 'schema' failed to satisfy constraint: Member must have length greater than or equal to 1 (Service: AWSCognitoIdentityProviderService; Status Code: 400; Error Code: InvalidParameterException; Request ID: 2d84e736-e114-41b4-b730-7e35f5783832)
Yes, It was in this screen. We have two option for this situation in order to fix it.
First option: We can choose the Username option, and leave it as a default. However, it did not let me to create test user because it throws error about email configuration in the console while I was trying to set it.
Second option: When we choose Email address or phone number option as the guide suggests, we must also choose email as a required attribute at the bottom of the page.
Edit: It’s weird I just tried going through the steps and I’m not seeing the error. I wonder if it was an AWS bug and they fixed it. I’ll add a note in any case.