AWS Cognito Custom Attributes Not Created

巧了我就是萌 提交于 2019-12-02 07:35:27

I think that might be happening because you are passing the attribute value as a number so 0. It's just a particularity of the service that attributes are treated as Strings for validation.

Can you try replacing that with the code below and see if it works.

var dataIsDriver = {
    Name: 'custom:is_driver',
    Value: '0'
};
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!