Possible error codes....

Version 1
    This document was generated from CDN thread

    Created by: Greg Dirst on 23-02-2010 09:58:49 PM
    I am needing a list of all the possible error codes I could get back from a Unity Reset attempt using XMLHTTP request. We are adding code to handle some of the errors in a special manner. Here are some of them I am looking for...
     
    Password changed too recently
    Password used before
    Password do not meet minimum password complexity
    etc
     
    Thank you.

    Subject: RE: Possible error codes....
    Replied by: David Wanagel on 24-02-2010 11:27:49 AM
    All errors will return with an HTTP 400
     
    In the ErrorDetails, the following will have the code DATA_EXCEPTION:
     
    "Duplicate credential found in history"
    "Trivial credential"
    "Invalid credential length"
     
    In the ErrorDetails, the following will have the code IMS_EXCEPTION:
     
    "LDAP authentication enabled. UpdateCredential failure"
    "Too recently changed credential"
    "Invalid Credential"
    "User cannot change"
     
    -Dave

    Subject: RE: Possible error codes....
    Replied by: Greg Dirst on 24-02-2010 04:47:59 PM
    All errors will return with an HTTP 400
     
    In the ErrorDetails, the following will have the code DATA_EXCEPTION:
     
    "Duplicate credential found in history"
    "Trivial credential"
    "Invalid credential length"
     
    In the ErrorDetails, the following will have the code IMS_EXCEPTION:
     
    "LDAP authentication enabled. UpdateCredential failure"
    "Too recently changed credential"
    "Invalid Credential"
    "User cannot change"
     
    -Dave


    Thank you for responding and this looks like it is what I need. Are these all of the errors possible?

    Subject: RE: Possible error codes....
    Replied by: David Wanagel on 24-02-2010 06:36:22 PM
    Internally we use an interface to manage password changes and those are all the possible errors defined by that interface,
     
    -Dave

    Subject: RE: Possible error codes....
    Replied by: Greg Dirst on 25-02-2010 09:26:55 PM
    Internally we use an interface to manage password changes and those are all the possible errors defined by that interface,
     
    -Dave


    Ok, thanks but I am confused. Sometimes that isn't difficult. : )
     
    We are testing my changes based on the list above and I actually got back an error from the API that was not in your list. Can you still confirm your previous post is the complete list or if you need more info from me?
     
    Description:
    There was a problem with the reset password request
    [400] <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ErrorDetails><errors><code>DATA_EXCEPTION</code><message>Credential does not meet the authentication rule complexity criteria</message></errors></ErrorDetails>

    Subject: RE: Possible error codes....
    Replied by: David Wanagel on 01-03-2010 12:17:15 PM
    According to the interface, those are the only possible errors.  Our expert on that interface is out until March 15th, so for now I would have to believe the interface definition.  As far as the text goes, the errors flagged as data exceptions go through an error translation layer, so the actual text is:
     
    Repeat credentials prohibited by credential policy
    Credential does not meet the authentication rule complexity criteria
    Password does not have enough characters
     
    -Dave