When registering a member using wix-users you may sometimes get the following message if your chosen password is not long enough.
“Wix code SDK error: The value of Password parameter that is passed to the login method cannot be set to the value “”. Its length must be between 4 and 256.”
I would like to point out that this message is inaccurate as there seems to be a lower limitation in how long a password can be. The maximum password length seems to be set a 15 characters long.
1 Like
Hmm, good catch. From the API…

I’ll open a ticket.
Thanks,
Thanks, I presume the 15 character limitation is to speed up decryption
@mikemoynihan99 No idea. The smart people at Wix decide on these things.
How would one discover when this is fixed?
Is there any plan to fix this? I was shocked to discover I couldn’t set a password longer than 15 characters (the one I’d planned on using is 17…)
Has this been fixed ? I have also discovered this problem today
Any update on this? The 15 character limit breaks automatically suggested passwords such as from Apple, and reinforces bad password habits.
Issue is still there! anyone has any update/ workaround?
Do you have a custom Velo registration function that you created?
Wix requires between 4 to 100 characters.
The “issue” before was that Wix only allowed up to 15 characters maximum. They changed that. So it is not longer an issue.
https://dev.wix.com/docs/velo/api-reference/wix-members-frontend/authentication/register