mab
August 12, 2022, 8:24am
1
I tried importing the user by extension. Simple case. But I have got an error with zero details
"Unable to import user “test.test@test.com ”: " . What could be wrong here?
[
{
"user_id": "15580",
"email": "test.test@test.com",
"name" : "test.test@test.com",
"custom_password_hash": {
"algorithm": "md4",
"hash": {
"value": "db346d691d7acc4dc2625db19f9e3f52"
}
}
}
]
Hi @mab ,
This error could be caused by the incorrect hash value and the missing encoding. I did the following test and it works. Here are the detials.
go to https://www.md5hashgenerator.com/ , generate the hash for string “password”
in the extension, import the JSON file with below scripts.
[
{
"email": "test.test@test.com",
"name" : "test.test@test.com",
"custom_password_hash": {
"algorithm": "md5",
"hash": {
"value": "5f4dcc3b5aa765d61d8327deb882cf99",
"encoding": "hex"
}
}
},
{
"email": "test2.test2@test.com",
"name" : "test2.test2@test.com",
"custom_password_hash": {
"algorithm": "md5",
"hash": {
"value": "5f4dcc3b5aa765d61d8327deb882cf99",
"encoding": "hex"
}
}
}
]
Could you please try my scripts and confirm how it goes? Thanks!
This topic was automatically closed after 9 days. New replies are no longer allowed.