Back

create email session: AppwriteException: Invalid `password`

  • 0
  • Auth
  • Web
cryptobitez
3 May, 2024, 20:28

login function- account.createemailpasswordsession( email, password)-- i'm getting error- AppwriteException: Invalid password param: Password must be between 8 and 256 characters long. Doesn't make sense. This was working for me earlier today.

TL;DR
Developers experiencing sudden error message 'AppwriteException: Invalid `password`' when attempting to create email session. Codebase hasn't changed. Error suggests password length between 8 and 256 characters, even if it worked earlier. Suggest checking server-side validation for password input.
cryptobitez
3 May, 2024, 20:32

this should not be the case- create a session should have exceptions like wrong password/username etc? can't help but think this isa. back end problem

cryptobitez
3 May, 2024, 20:34

my code base hasnt changed, this error came out of nowwhere

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more