Bulk user import Error

Whenever i am importing a json file with users who have custom_hash_password, i get the error: Additional properties not allowed: salt

Can someone assist?

part of json file here below
[
{
“email”: “me@myemail.com”,
“email_verified”: true,
“user_id”: “gwxcrvjhdnzlvjbhjlmbsgmnrcrics”,
“name”: “John Doe”,
“blocked”: false,
“password_hash”: “c4578be2cc7c3674ff290a9f0696a21ee18c0f43f15e01d638cb00451ac6f7aa73502b4030591fc95c5fff7b522df05a30fe7d3c1a82f7030d2cc41ef69fe22dce691c285e89077a840ecde71906598e2fb415a6b77f8f5503cc18523bc856eae0dfe375984c41f8e7897002f028f0f9273513ccf70dc345a176305e8dce982564d586d003b498c7a494bc69ac3c6fc355f0af181fe060752a9838185c28ebbeebda40606c0568fb6503b0b555968aa1ea46006fafc7614544a3ecc0c76c233f54f5f788d30d7c48ee19df130b168656058ec70698e7f5144380b4079ad4b7e78191348a1db2d0a7c12e142fc8004fb8ad6806cf8f7ded99294617b4efa806080e795b3fb01c07932c9a607f047b01306110bb784e20d5b4f428cce4607da1f56ccbb4c28a9055795ba8e4ecb8261af05301ceb3a89183de9b0a17733896aa4f0fb706cf997410cda213604b11813e52405ce4bad53249d843e8bedb0a51142f00c8f535ac0ce63e3bb3849b6b874af61f01a558c8e86d5360a3f454efe7b2ec180ae9c347f92ca8439abae6f94d9aaa70b6333fa3bcb25657efb5d5a44e846ffdee14042ca52b162dddd751e8341302adf3190dd90de1ea30699327b1213bf20bc87653a891ed52af969fe5f34998908ff00d1a00b8671e729f24da90ed184764caf68bba8ee295681e97b3949da7f4b55b2ec729fce0f8c04aba867451a358”,
“custom_password_hash”: {
“algorithm”: “sha512”,
“hash”: {
“value”: “c4578be2cc7c3674ff290a9f0696a21ee18c0f43f15e01d638cb00451ac6f7aa73502b4030591fc95c5fff7b522df05a30fe7d3c1a82f7030d2cc41ef69fe22dce691c285e89077a840ecde71906598e2fb415a6b77f8f5503cc18523bc856eae0dfe375984c41f8e7897002f028f0f9273513ccf70dc345a176305e8dce982564d586d003b498c7a494bc69ac3c6fc355f0af181fe060752a9838185c28ebbeebda40606c0568fb6503b0b555968aa1ea46006fafc7614544a3ecc0c76c233f54f5f788d30d7c48ee19df130b168656058ec70698e7f5144380b4079ad4b7e78191348a1db2d0a7c12e142fc8004fb8ad6806cf8f7ded99294617b4efa806080e795b3fb01c07932c9a607f047b01306110bb784e20d5b4f428cce4607da1f56ccbb4c28a9055795ba8e4ecb8261af05301ceb3a89183de9b0a17733896aa4f0fb706cf997410cda213604b11813e52405ce4bad53249d843e8bedb0a51142f00c8f535ac0ce63e3bb3849b6b874af61f01a558c8e86d5360a3f454efe7b2ec180ae9c347f92ca8439abae6f94d9aaa70b6333fa3bcb25657efb5d5a44e846ffdee14042ca52b162dddd751e8341302adf3190dd90de1ea30699327b1213bf20bc87653a891ed52af969fe5f34998908ff00d1a00b8671e729f24da90ed184764caf68bba8ee295681e97b3949da7f4b55b2ec729fce0f8c04aba867451a358”,
“encoding”: “sha512”
},
“salt”: {
“value”: “c7774c0a45c4e74b39eb22648013e6a9”,
“encoding”: “hex”,
“position”: “suffix”
}
},
“additionalProperties”: true
},
]

Hi @marcel3,

Thanks for reaching out to the Auth0 Community!

I understand that you are encountering problems with Bulk User Import.

Having looked closely at your JSON file, I noticed some values that are not following the Bulk User Import Database Schema.

First, could you please make sure that your hash.encoding values are either base64 or hex when using "algorithm"="sha512" as stated here.

Please let me know if this addresses the issue.

Thank you.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.