CUC Forums

« Back to CUPI Questions

Possible error codes....

Combination View Flat View Tree View
Threads [ Previous | Next ]
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.

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

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?

Internally we use an interface to manage password changes and those are all the possible errors defined by that interface,
 
-Dave

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>

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