2017-06-29 40 views
0

我想创建一个用户使用Cognito用户池控制台(我正在设置用户名和临时密码的值),但我不断收到此错误。无法创建AW​​S Cognito用户池用户

属性不符合模式:生日:数必须超过10个字符(服务不再:AWSCognitoIdentityProviderService;状态代码:400;错误代码:抛出:InvalidParameterException;请求ID:98f3de9e-5ce3-11e7-98e8- 9d0c69d31df9)

用户群与以下使用无服务器

Type: AWS::Cognito::UserPool 
    DeletionPolicy: Retain 
    Properties: 
    UserPoolName: employees 
    AdminCreateUserConfig: 
     AllowAdminCreateUserOnly: true 
    Policies: 
     PasswordPolicy: 
     MinimumLength: 8 
     RequireLowercase: true 
     RequireNumbers: true 
    Schema: 
     - Name: "picture" 
     AttributeDataType: String 
     Mutable: true 
     Required: false 
     - Name: "given_name" 
     AttributeDataType: String 
     Mutable: true 
     Required: true 
     - Name: "middle_name" 
     AttributeDataType: String 
     Mutable: true 
     Required: false 
     - Name: "family_name" 
     AttributeDataType: String 
     Mutable: true 
     Required: true 
     - Name: "address" 
     AttributeDataType: String 
     Mutable: true 
     Required: false 
     - Name: "birthdate" 
     AttributeDataType: String 
     Mutable: true 
     Required: true 
     - Name: "gender" 
     AttributeDataType: String 
     Mutable: true 
     Required: true 

回答

0

创建通过下面的设置,我能够重现ŧ他同样的问题。您能否提供您的请求ID的时间戳以及您使用的是哪个区域?

+0

以下是在2017年6月30日6AM PHT(2017年6月29日晚上10点UTC)发生的新错误,并且用户池部署在'ap-northeast-1'上。 '属性不符合模式:birthdate:Number必须不超过10个字符(服务:AWSCognitoIdentityProviderService;状态代码:400;错误代码:InvalidParameterException;请求ID:32cf27f5-5d16-11e7-9de7-73f9969ca2c1)' – jasperagrante

+0

这是服务方面的问题,我们正在努力修复它。感谢您指出。 – Yisha

+0

没问题。我很高兴能够提供帮助。 – jasperagrante

相关问题