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
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...