{% extends "SsoHelpBundle:Layout:base.html.twig" %}

{% block title %}{{ parent() }} - Error Codes{% endblock %}

{% block body %}
    <h1>Error Codes</h1>
    <div class="alert alert-warning alert-dismissible" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
                    aria-hidden="true">&times;</span></button>
        <strong>Warning!</strong>
        <p>
            The error codes has been changed since last version. Please update your application!<br/>
            Since <span class="label label-success label-primary">version 2</span> we changed the http header status
            codes
            for error responses. Instead of only using the http status code 500 (Internal Server Error), we are using
            more detailed
            http header. See http header codes below.
        </p>
    </div>
    <p><strong>http header:</strong></p>

    <table class="table table-striped">
        <thead>
        <tr>
            <th>Code</th>
            <th>Status</th>
            <th>Version</th>
        </tr>
        </thead>
        <tr>
            <td>500</td>
            <td>Internal Server Error</td>
            <td>
                <span class="label label-pill label-primary">version 1</span>
                <span class="label label-success label-primary">version 2</span>
            </td>
        </tr>
        <tr>
            <td>400</td>
            <td>Bad Request</td>
            <td>
                <span class="label label-success label-primary">version 2</span>
            </td>
        </tr>
        <tr>
            <td>401</td>
            <td>Unauthorized</td>
            <td>
                <span class="label label-success label-primary">version 2</span>
            </td>
        </tr>
        <tr>
            <td>403</td>
            <td>Forbidden</td>
            <td>
                <span class="label label-success label-primary">version 2</span>
            </td>
        </tr>
        <tr>
            <td>404</td>
            <td>Not Found</td>
            <td>
                <span class="label label-success label-primary">version 2</span>
            </td>
        </tr>
    </table>
    <hr/>
    <p><span class="label label-pill label-primary">version 1</span> Error Messages in your response will look like
        this:</p>
    <pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;SsoResponse&gt;
  &lt;Status&gt;Failure&lt;/Status&gt;
  &lt;Trackid&gt;38b04edcbd&lt;/Trackid&gt;
  &lt;Date&gt;2014-07-25T08:58:00+02:00&lt;/Date&gt;
  &lt;User&gt;
    &lt;Add&gt;
      &lt;Status&gt;Failure&lt;/Status&gt;
      &lt;Errors&gt;
        &lt;Error&gt;
          &lt;ErrorCode&gt;&lt;![CDATA[u10]]&gt;&lt;/ErrorCode&gt;
          &lt;ErrorRef&gt;&lt;![CDATA[v001]]&gt;&lt;/ErrorRef&gt;
          &lt;ShortMessage&gt;&lt;![CDATA[Invalid email-address]]&gt;&lt;/ShortMessage&gt;
          &lt;LongMessage&gt;&lt;![CDATA[Email-address already in use.]]&gt;&lt;/LongMessage&gt;
        &lt;/Error&gt;
        &lt;Error&gt;
          &lt;ErrorCode&gt;&lt;![CDATA[u20]]&gt;&lt;/ErrorCode&gt;
          &lt;ErrorRef&gt;&lt;![CDATA[v001]]&gt;&lt;/ErrorRef&gt;
          &lt;ShortMessage&gt;&lt;![CDATA[Invalid username]]&gt;&lt;/ShortMessage&gt;
          &lt;LongMessage&gt;&lt;![CDATA[Username already in use.]]&gt;&lt;/LongMessage&gt;
        &lt;/Error&gt;
      &lt;/Errors&gt;
    &lt;/Add&gt;
  &lt;/User&gt;
    </pre>
    <p>
        The ErrorCode refers to an entry in this list.
        The ErrorRef helps us, to get further informations about your request.
        The ShortMessage contains a very short description of the error.
        And at least the LongMessage gives you detailed information about the error. It may differ from this list.
    </p>
    <p><span class="label label-success label-primary">version 2</span> Error Messages in your response will look like
        this:</p>
    <pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;SsoResponse&gt;
  &lt;Code&gt;400&lt;/Code&gt;
  &lt;Status&gt;&lt;![CDATA[Bad Request]]&gt;&lt;/Status&gt;
  &lt;TrackId&gt;&lt;![CDATA[98f7bce835]]&gt;&lt;/TrackId&gt;
  &lt;Controller&gt;&lt;![CDATA[User]]&gt;&lt;/Controller&gt;
  &lt;Action&gt;&lt;![CDATA[Add]]&gt;&lt;/Action&gt;
  &lt;Date&gt;&lt;![CDATA[2016-08-31T11:24:41+02:00]]&gt;&lt;/Date&gt;
  &lt;ScriptTimeSec&gt;1.0803&lt;/ScriptTimeSec&gt;
  &lt;ErrorCount&gt;1&lt;/ErrorCount&gt;
  &lt;Errors&gt;
    &lt;Error&gt;
      &lt;Code&gt;400&lt;/Code&gt;
      &lt;Status&gt;&lt;![CDATA[Bad Request]]&gt;&lt;/Status&gt;
      &lt;ErrorCode&gt;&lt;![CDATA[user.add.value.userType.password: Password should be at least 8 characters or more and should have 127 characters or less and must contain at least one number, one special character, one lower case and one upercase letter. Password must not match username or email.]]&gt;&lt;/ErrorCode&gt;
      &lt;ErrorReference&gt;&lt;![CDATA[user.add.value.userType.password: Password should be at least 8 characters or more and should have 127 characters or less and must contain at least one number, one special character, one lower case and one upercase letter. Password must not match username or email.]]&gt;&lt;/ErrorReference&gt;
      &lt;ShortMessage&gt;&lt;![CDATA[user.add.value.userType.password: Password should be at least 8 characters or more and should have 127 characters or less and must contain at least one number, one special character, one lower case and one upercase letter. Password must not match username or email.]]&gt;&lt;/ShortMessage&gt;
      &lt;LongMessage&gt;&lt;![CDATA[user.add.value.userType.password: Password should be at least 8 characters or more and should have 127 characters or less and must contain at least one number, one special character, one lower case and one upercase letter. Password must not match username or email.]]&gt;&lt;/LongMessage&gt;
      &lt;Type&gt;&lt;![CDATA[External Error]]&gt;&lt;/Type&gt;
    &lt;/Error&gt;
  &lt;/Errors&gt;
&lt;/SsoResponse&gt;
    </pre>
    <h2>Internal Error Codes</h2>
    <div class="alert alert-warning alert-dismissible" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
                    aria-hidden="true">&times;</span></button>
        <strong>Warning!</strong>
        <p>
            We changed our Firewall, which is responsible for the authentication of your request, this has also impact
            on version1!
        </p>
    </div>
    <h5>New Firewall Codes</h5>
    <table class="table table-striped">
        <thead>
        <tr>
            <th>ErrorCode</th>
            <th>ErrorRef</th>
            <th>ShortMessage</th>
            <th>LongMessage</th>
            <th>Version</th>
        </tr>
        </thead>
        <tr>
            <td>fw001</td>
            <td>hd001</td>
            <td>Invalid controller</td>
            <td>Header API-CONTROLLER not found.</td>
            <td>
                <span class="label label-pill label-primary">version 1</span>
                <span class="label label-pill label-success">version 2</span>
            </td>
        </tr>
        <tr>
            <td>fw001</td>
            <td>hd002</td>
            <td>Invalid action</td>
            <td>Header API-ACTION not found.</td>
            <td>
                <span class="label label-pill label-primary">version 1</span>
                <span class="label label-pill label-success">version 2</span>
            </td>
        </tr>
        <tr>
            <td>fw002</td>
            <td>hd003</td>
            <td>XmlInvalid</td>
            <td>The Error Message.</td>
            <td>
                <span class="label label-pill label-primary">version 1</span>
                <span class="label label-pill label-success">version 2</span>
            </td>
        </tr>
        <tr>
            <td>fw002</td>
            <td>hd004</td>
            <td>XML Controller</td>
            <td>Controller in header does not match controller in xml</td>
            <td>
                <span class="label label-pill label-primary">version 1</span>
                <span class="label label-pill label-success">version 2</span>
            </td>
        </tr>
        <tr>
            <td>fw002</td>
            <td>hd005</td>
            <td>XML Action</td>
            <td>Action in header does not match controller in xml</td>
            <td>
                <span class="label label-pill label-primary">version 1</span>
                <span class="label label-pill label-success">version 2</span>
            </td>
        </tr>
        <tr>
            <td>fw003</td>
            <td>hd006</td>
            <td>InvalidXml</td>
            <td>The Error Message</td>
            <td>
                <span class="label label-pill label-primary">version 1</span>
                <span class="label label-pill label-success">version 2</span>
            </td>
        </tr>
        <tr>
            <td>fw003</td>
            <td>hd007</td>
            <td>InvalidXml</td>
            <td>The Error Message</td>
            <td>
                <span class="label label-pill label-primary">version 1</span>
                <span class="label label-pill label-success">version 2</span>
            </td>
        </tr>
        <tr>
            <td>fw004</td>
            <td>hd008</td>
            <td>InvalidCredentials</td>
            <td>The Error Message</td>
            <td>
                <span class="label label-pill label-primary">version 1</span>
                <span class="label label-pill label-success">version 2</span>
            </td>
        </tr>
        <tr>
            <td>fw000</td>
            <td>hd009</td>
            <td>IInternal Error</td>
            <td>The Error Message</td>
            <td>
                <span class="label label-pill label-primary">version 1</span>
                <span class="label label-pill label-success">version 2</span>
            </td>
        </tr>
        <tr>
            <td>code42</td>
            <td>code42</td>
            <td>CriticalError</td>
            <td>If you see this Error Message, please call the systemadmin!</td>
            <td>
                <span class="label label-pill label-primary">version 1</span>
                <span class="label label-pill label-success">version 2</span>
            </td>
        </tr>
    </table>
    <h5>Standard Error Codes</h5>
    <table class="table table-striped">
        <thead>
        <tr>
            <th>Code</th>
            <th>Short message</th>
            <th>Long message</th>
            <th>Version</th>
        </tr>
        </thead>
        <tr>
            <td>h000</td>
            <td>Invalid remote address</td>
            <td></td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>x000</td>
            <td>Invalid xml</td>
            <td></td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>x001</td>
            <td>Invalid controller</td>
            <td>Cannot retrieve controller name from xml</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>x002</td>
            <td>Invalid action</td>
            <td>Cannot retrieve action name from xml</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>x003</td>
            <td>Invalid controller</td>
            <td>Check the manual for valid controllers</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>x004</td>
            <td>Invalid action</td>
            <td>Action not allowed in current controller. Check the manual for valid actions</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>x005</td>
            <td>Invalid xml-element</td>
            <td>Xml-element is not allowed in this context</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>x006</td>
            <td>Invalid number of xml-elements</td>
            <td>Check number of allowed xml-elements</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>x007</td>
            <td>Missing xml-element</td>
            <td>Required xml-element not found</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>x008</td>
            <td>Missing credentials</td>
            <td>Missing credential nodes in xml. Check your xml</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>

        <tr>
            <td>c001</td>
            <td>Credentials error</td>
            <td>Invalid xml structure. See errors below</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>c002</td>
            <td>Credentials error</td>
            <td>Controller Name seems to be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>c003</td>
            <td>Credentials error</td>
            <td>Remote Address seems to be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>c004</td>
            <td>Credentials error</td>
            <td>Controller Action seems to be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>c005</td>
            <td>Credentials error</td>
            <td>Invalid service token</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>c006</td>
            <td>Credentials error</td>
            <td>Invalid ip address</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>c007</td>
            <td>Credentials error</td>
            <td>Token has no permissions to do this request</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>c008</td>
            <td>Credentials error</td>
            <td>Invalid user identifier</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>

        <tr>
            <td>u001</td>
            <td>Invalid user</td>
            <td>User not found in database</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u002</td>
            <td>Invalid user application</td>
            <td>User not linked to application</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u003</td>
            <td>Invalid user application</td>
            <td>User already linked to application</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u004</td>
            <td>Mutliple attribute</td>
            <td>Attribute is not a multi-value and may not be set more than once in a request</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u005</td>
            <td>Invalid token</td>
            <td>Token has expired</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u006</td>
            <td>Invalid attribute</td>
            <td>Attribute not found in database</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u007</td>
            <td>Invalid token</td>
            <td>User not found in database or password-token has expired</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u008</td>
            <td>Invalid role</td>
            <td>User not linked to application role</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u009</td>
            <td>User active</td>
            <td>User is already active. There is no need, to activeate user again</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u010</td>
            <td>Invalid token</td>
            <td>User not found in database or activation-token has expired</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>a001</td>
            <td>Invalid application</td>
            <td>Application not found in database</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>a002</td>
            <td>Invalid application role</td>
            <td>Role does not exist in application</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>a003</td>
            <td>Invalid application attribute</td>
            <td>Attribute does not exist in application</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>at001</td>
            <td>Invalid attribute</td>
            <td>Attribute already exists in database</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>at002</td>
            <td>Invalid attribute</td>
            <td>Attribute not found in database</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>ar001</td>
            <td>Invalid role</td>
            <td>Role already exists in database</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>ar002</td>
            <td>Invalid role</td>
            <td>Role not found in database</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>api1</td>
            <td>Internal error</td>
            <td></td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>

        <tr>
            <td>a00</td>
            <td>Invalid application-id</td>
            <td>Application-id already in use</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>a10</td>
            <td>Invalid application-name</td>
            <td>Application-name already in use</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>a00</td>
            <td>Invalid application-id</td>
            <td>Application-id should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>a01</td>
            <td>Invalid application-id</td>
            <td>Application-id should have exactly 64 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>a10</td>
            <td>Invalid application-name</td>
            <td>Application-name should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>a11</td>
            <td>Invalid application-name</td>
            <td>Application-name cannot be longer than 127 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>a20</td>
            <td>Invalid application-description</td>
            <td>Application-description cannot be longer than 255 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>a30</td>
            <td>Roles dependencies</td>
            <td>There are role dependencies. Delete roles first</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>a40</td>
            <td>Attribute dependencies</td>
            <td>There are attribute dependencies. Delete attributes first</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>a50</td>
            <td>User dependencies</td>
            <td>There are users linked to application. Delete links first</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u00</td>
            <td>Invalid attribute-id</td>
            <td>Attribute-id already in use</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u00</td>
            <td>Invalid attribute-id</td>
            <td>Attribute-id already in use</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>at00</td>
            <td>Invalid attribute-id</td>
            <td>Attribute-id should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>at01</td>
            <td>Invalid attribute-id</td>
            <td>Attribute-id should have exactly 64 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>at10</td>
            <td>Invalid attribute-name</td>
            <td>Attribute-name should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>at11</td>
            <td>Invalid attribute-name</td>
            <td>Attribute-name cannot be longer than 64 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>at20</td>
            <td>Invalid attribute-type</td>
            <td>Attribute-type must be 'one' or 'many'</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>at30</td>
            <td>Missing application</td>
            <td>Attribute must be linked to an application</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>ua00</td>
            <td>Invalid id</td>
            <td>UserApplication-id should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>ua01</td>
            <td>Invalid id</td>
            <td>UserApplication-id should have exactly 64 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>ua10</td>
            <td>Invalid application-name</td>
            <td>Application-name should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>ua11</td>
            <td>Invalid application-name</td>
            <td>Application-name cannot be longer than 127 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>ua20</td>
            <td>Missing User</td>
            <td>Users application must be linked to an user</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>ua30</td>
            <td>Missing Application</td>
            <td>Users application value must be linked to an application</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>ua40</td>
            <td>Attribute dependencies</td>
            <td>There are attribute dependencies. Delete attributes first</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>ua50</td>
            <td>Role dependencies</td>
            <td>There are role dependencies. Delete roles first</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uaa00</td>
            <td>Invalid id</td>
            <td>UserApplicationAttribute-id should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uaa01</td>
            <td>Invalid id</td>
            <td>UserApplicationAttribute-id should have exactly 64 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uaa10</td>
            <td>Invalid attribute-name</td>
            <td>Attribute-name should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uaa11</td>
            <td>Invalid attribute-name</td>
            <td>Attribute-name cannot be longer than 64 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uaa20</td>
            <td>Invalid attribute-type</td>
            <td>Attribute-type should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uaa21</td>
            <td>Invalid attribute-type</td>
            <td>Attribute-type must be 'one' or 'many'</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uaa30</td>
            <td>Missing User</td>
            <td>Attribute value must be linked to an user</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uaa31</td>
            <td>Invalid attribute-value</td>
            <td>ttribute-value cannot be longer than 65535 (= 2 ^ 16 - 1) characters.</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uaa40</td>
            <td>Missing Attribute</td>
            <td>Attribute value must be linked to an attribute</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uar00</td>
            <td>Invalid id</td>
            <td>UserApplicationRole-id should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uar01</td>
            <td>Invalid id</td>
            <td>UserApplicationRole-id should have exactly 64 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uar10</td>
            <td>Invalid role-name</td>
            <td>Role-name should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uar11</td>
            <td>Invalid role-name</td>
            <td>Role-name cannot be longer than 64 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uar20</td>
            <td>Missing User</td>
            <td>UserRole must be linked to an user</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>uar30</td>
            <td>Missing Role</td>
            <td>UserRole value must be linked to an Role</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>r00</td>
            <td>Invalid role-id</td>
            <td>Role-id already in use</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>r00</td>
            <td>Invalid role-id</td>
            <td>Role-id should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>r01</td>
            <td>Invalid role-id</td>
            <td>Role-id should have exactly 64 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>r10</td>
            <td>Invalid role-name</td>
            <td>Role-name should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>r11</td>
            <td>Invalid role-name</td>
            <td>Role-name cannot be longer than 127 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>r20</td>
            <td>Invalid role-description</td>
            <td>Role-description cannot be longer than 255 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>r30</td>
            <td>Missing application</td>
            <td>Role must be linked to an application</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>r40</td>
            <td>User dependencies</td>
            <td>There are users linked to role. Delete links first</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u00</td>
            <td>Invalid user-id</td>
            <td>User-id already in use</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u40</td>
            <td>Invalid GUID</td>
            <td>GUID already in use</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u10</td>
            <td>Invalid email-address</td>
            <td>Email-address already in use</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u20</td>
            <td>Invalid username</td>
            <td>Username already in use</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u01</td>
            <td>Invalid user-id</td>
            <td>User-id should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u02</td>
            <td>Invalid user-id</td>
            <td>User-id should have exactly 64 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u41</td>
            <td>Invalid GUID</td>
            <td>GUID should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u42</td>
            <td>Invalid GUID</td>
            <td>Guid should have 64 characters or less</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u43</td>
            <td>Guid set</td>
            <td>You may specify ONLY one of Guid, Username, Email or Identifier. If you don't know, if it is a guid,
                username or email, use identifier
            </td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u11</td>
            <td>Invalid email-address</td>
            <td>Email-address should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u12</td>
            <td>Invalid email-address</td>
            <td>Email-address cannot be longer than 127 characters</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u13</td>
            <td>Invalid email-address</td>
            <td>The email-address is not a valid email</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u13</td>
            <td>Invalid email-address</td>
            <td>The email-address should not contain any whitespaces</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u14</td>
            <td>Email-address set</td>
            <td>You may specify ONLY one of Guid, Username, Email or Identifier. If you don't know, if it is a guid,
                username or email, use identifier
            </td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u21</td>
            <td>Invalid username</td>
            <td>Username should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u22</td>
            <td>Invalid username</td>
            <td>Username must be at least 5 characters or more</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u23</td>
            <td>Invalid username</td>
            <td>Username should have 127 characters or less</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u24</td>
            <td>Invalid username</td>
            <td>Username should not have any whitespaces</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u25</td>
            <td>Invalid username</td>
            <td>Username should not have any trailing whitespaces</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u26</td>
            <td>Username set</td>
            <td>You may specify ONLY one of Guid, Username, Email or Identifier. If you don't know, if it is a guid,
                username or email, use identifier
            </td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u40</td>
            <td>Invalid firstname</td>
            <td>Firstname should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u41</td>
            <td>Invalid firstname</td>
            <td>Firstname should have 127 characters or less</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u50</td>
            <td>Invalid lastname</td>
            <td>Lastname should not be empty</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u52</td>
            <td>Invalid lastname</td>
            <td>Lastname should have 127 characters or less</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u60</td>
            <td>Invalid active-flag</td>
            <td>Active flag must be 1 or 0</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u70</td>
            <td>Invalid Identifier</td>
            <td>Identifier should not be empty. Fill with GUID, username or email-address</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u71</td>
            <td>Invalid Identifier</td>
            <td>Identifier should have 127 characters or less. Fill with GUID, username or email-address</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u72</td>
            <td>Identifier not empty</td>
            <td>You may specify ONLY one of Guid, Username, Email or Identifier. If you don't know, if it is a guid,
                username or email, use identifier
            </td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>u73</td>
            <td>Invalid identifiers</td>
            <td>You may specify one of Guid, Username, Email or Identifier</td>
            <td><span class="label label-pill label-primary pull-right">version 1</span></td>
        </tr>
        <tr>
            <td>rpt001</td>
            <td>Reset Password Token Error</td>
            <td>Invalid password reset token</td>
            <td><span class="label label-pill label-primary pull-right">version 2</span></td>
        </tr>
        <tr>
            <td>u011</td>
            <td>Wrong password</td>
            <td>The given current password is wrong</td>
            <td><span class="label label-pill label-primary pull-right">version 2</span></td>
        </tr>
        <tr>
            <td>pp1</td>
            <td>Password Policy Mismatch</td>
            <td>Password does not satisfy policy: Password does not match regular expression</td>
            <td><span class="label label-pill label-primary pull-right">version 2</span></td>
        </tr>
    </table>
    <style>
        .table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
            background-color: #f5f5f5;
        }
    </style>

{% endblock %}

