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
posta 9 mesi fa65 visualizzazioni
Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande