Birthdate Attribute Error in Amplify Authenticator: String Must Be No Longer Than 10 Characters

0

I am using the Amplify Authenticator in my application and have come across an issue with the birthdate attribute. When users enter their birthdate in the "YYYY-MM-DD" format, an error message appears, stating: "Attributes did not conform to the schema: birthdate: String must be no longer than 10 characters."

This seems to indicate that the birthdate validation expects exactly 10 characters, but the provided format is consistent with the AWS documentation. Has anyone else faced this issue? How can I ensure that the birthdate is correctly formatted and accepted by Cognito? Any help or guidance would be appreciated.

CRobGSI
preguntada hace 9 meses64 visualizaciones
No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas