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
已提问 9 个月前65 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则