Hello! I’m trying to import users using the new support for custom password hash. I followed the format of the docs and the examples there. Here is an example of an user I’m trying to import (fake data):
Input user
[
{
"custom_password_hash": {
"hash": {
"value": "$pbkdf2-sha1$i=10000, l=64$tM7Vr/ikmnhHUjimP8djWA==$1AAnQ+Q4nN+32165oPC1NXvQ/XTSQ7wFOIiqNh5Y5pg2W1CxPPz0JoE93c7zvHdHf5d1qZhQFe1pvNfCCxpqmQ=="
},
"algorithm": "pbkdf2"
},
"email_verified": true,
"user_metadata": {
"phone": "999999999"
},
"user_id": "b9eed9e5-2617-4a9c-b4dc-6cc9c9b5fefe",
"given_name": "resseller",
"family_name": "reseller",
"email": "reseller_test@haulmer.com"
}
]
When the job ends I get the following error
Error
"user": {
"custom_password_hash": {
"hash": {
"value": "*****"
},
"algorithm": "pbkdf2"
},
"email_verified": true,
"user_metadata": {
"phone": "999999999"
},
"user_id": "b9eed9e5-2617-4a9c-b4dc-6cc9c9b5fefe",
"given_name": "resseller",
"family_name": "reseller",
"email": "reseller_test@haulmer.com"
},
"errors": [
{
"code": "ONE_OF_MISSING",
"message": "",
"path": "custom_password_hash"
}
]
I’ve looked into the forums but there isn’t information about this error code.