Password Errors

Password policy violations cause exceptions to be thrown.

Password Errors
Name Value Description
PASSWORD_REQUIRED 50 Indicates that a blank or null password was used when the password policy does not allow default password.
PASSWORD_UNDER_MIN_LENGTH 51 Indicates that the password length is less than the required minimum. 
PASSWORD_REQUIRES_DIGIT 52 Indicates that the password does not contain digits.
PASSWORD_REQUIRES_UPPER 53 Indicates that the password does not contain upper case characters.
PASSWORD_REQUIRES_LOWER 54 Indicates that the password does not contain lower case characters.
PASSWORD_REQUIRES_SPECIAL 55 Indicates that the password does not contain one of these special characters:  ~!@#$%^&*()-+.
PASSWORD_UNDER_MIN_UNIQUE 56 Indicates that the password contains fewer than the minimum required number of unique characters.
PASSWORD_EXPIRED 57 Indicates that the password has been in use longer than the number of configured expiration days.