Docs

Form errors

An index of Clerk errors related to forms.

FormPasswordLengthTooShortCode

Signifies an error when the password is invalid because it is too short.

{
  "shortMessage": "Passwords must be %d characters or more.",
  "code": "form_password_length_too_short"
}

FormInvalidPasswordLengthTooLong

Signifies an error when the password is invalid because it is too long.

{
  "shortMessage": "Passwords must be less than %d characters.",
  "code": "form_password_length_too_long"
}

FormPasswordIncorrectCode

Signifies an error when the given password is incorrect.

{
  "shortMessage": "Password is incorrect. Try again, or use another method.",
  "code": "form_password_incorrect"
}

FormIdentifierNotFoundCode

Signifies an error when a required identifier is not found.

{
  "shortMessage": "Couldn't find your account.",
  "code": "form_identifier_not_found"
}

FormIdentifierExistsCode

Signifies an error when a given identifier already exists.

{
  "shortMessage": "That %s is taken. Please try another.",
  "code": "form_identifier_exists"
}

Feedback

What did you think of this content?

Last updated on