Hello! I am getting an error that says-
"AppwriteException: Invalid password param: Password must be at least 8 characters and should not be one of the commonly used password.
at Client.<anonymous> (http://localhost:3000/node_modules/.vite/deps/appwrite.js?v=53df4afb:850:17)
at Generator.next (<anonymous>)
at fulfilled (http://localhost:3000/node_modules/.vite/deps/appwrite.js?v=53df4afb:488:24)"
while hitting the sign up button to create a new user in my web application.
These are my code files-
The sign up form
Validation file
The INewUser object is a simple typescript type with name, email, username and password
this is the error I am getting after hitting the submit button in my form
Switch to the network tab, look for the related request, and check the payload. Is the password in the request as expected?
It seems to be working now after i used the .env.local file and formatted it correctly, this was just after I had created the project so maybe that had something to do with it. Thank you for your time!
[SOLVED] Password Error
Recommended threads
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...