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
asked 9 months ago63 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions