Skip to main content

Error Code Mapping

Error Code Mapping for 5.x.x Versions

  • In the (X)HTML file, error handling is structured with separate <div> elements to display specific details, including:

    • Subsystem
    • Error Code
    • Error Message
    • Error Parameters
  • The message_en.properties file in the kobil-lite theme will map these error messages using properties like this:

    0004=User_not_found
  • The backend, after resolving the locale and theme using the key user_not_found, sends the code 0004 to the frontend via message.summary. The frontend will then resolve and display this message as User not found through msg(message.summary).

Example HTML Error Divs

<div id="error-subsystem">580</div>
<div id="error-code">0012</div>
<div id="error">Invalid password: must not be equal to any of the last {0} passwords.</div>
<div id="error-parameters">
<ol>
<li id="policy-param">3</li>
</ol>
</div>

Error Codes and Messages

SubsystemCodeError Message
580001Username is not provided
580002Password is not provided
580003Activation Code is not provided
580004User not found
580005Activation Code is expired
580006Activation Code is invalid
580007Current password is not provided
580008New password is not provided
580009Old password is incorrect
580010Password is incorrect
5800011Invalid Credentials, You have only {0} attempts remaining
5800012Invalid password: must not be equal to any of last {0} passwords.
5800013Invalid password: minimum length {0}.
5800014Invalid password: maximum length {0}.
5800015Invalid password: must contain at least {0} lower case characters.
5800016Invalid password: must contain at least {0} numerical digits.
5800017Invalid password: must contain at least {0} upper case characters.
5800018Invalid password: must contain at least {0} special characters.
5800019Invalid password: must not be equal to the username.
5800020Invalid password: must not be equal to the email.
5800021Invalid password: fails to match regex pattern(s).
5800022Invalid password: password is blacklisted.
5800023Invalid password: new password does not match password policies.
5800026User is temporarily locked for {0} seconds.
5800027User is currently disabled, Please contact admin.
5800028Something went wrong! Please try again later.
5800029The page you are looking for is expired, please click Continue to proceed.
5800030An internal server error has occurred.
5800031Passwords don't match.
5800032You are already authenticated as a different user {0} in this session. Please log out first.
5800033Cookie not found. Please make sure cookies are enabled in your browser.
5800034Username is already taken, provide a unique username.
5800035Alias Username is required.
5800036Unexpected error when handling authentication request to identity provider.