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 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南