Credential result codes

Here is a list of Credential result codes that appear in the response from a Credential API call:

Credential Result Codes

Result

Code

Credential Result

Description

1

Success

Operation completed successfully

2

InvalidArgument

An invalid method argument was passed to a method.

3

InvalidArgumentRange

An argument value is not within the range accepted by a method.

4

MismatchedArguments

One or more method argument counts do not match.

5

NotImplemented

The method has not been implemented.

6

InvalidDestinationList

A method output argument list is invalid.

7

InsufficientPrivileges

The method call has insufficient permissions to perform an operation.

8

InvalidOperation

A method call has been attempted using an invalid or disposed instantiated <c>Credential</c> object.

9

UnexpectedAssemblyError

An unexpected error occurred within a called assembly.

10

OutOfMemory

An operation failed due to insufficient system resources.

100

AttributeDoesNotExist

The request attribute does not exist.

101

AttributeAlreadyExists

The attribute name already exists within the attribute schema or as an optional or mandatory attribute to a class.

102

AttributeNotFound

The attribute was not within the attribute schema or was not found to have a value for an object.

103

AttributeValueExists

A matching attribute value already exists for an object.

104

AttributeStillInUse

The attribute cannot be removed from the attribute schema as the attribute is still in use by one or more objects.

105

AttributeNameTooLong

The attribute cannot be defined as the attribute name exceeds the maximum defined attribute name length.

106

AttributeReferenceDoesNotExist

An attribute reference cannot be added to a schema class definition as the attribute does not exist within the attribute schema.

107

AttributeSyntaxCollision

The attribute schema definition cannot be created as an attribute already exists within the attribute schema with a different syntax.

108

AttributePropertyCollision

The attribute schema definition cannot be created as an attribute already exists within the attribute schema with conflicting attribute properties.

109

CannotRemoveMandatory

The attribute cannot be removed from an class schema definition as the attribute is a mandatory attribute value for the class.

110

AttributeValueIsMandatory

An object cannot be created as an class mandatory attribute value has not been set.

111

AttributeValueTooLong

An attribute value cannot be written as the value of the attribute exceeds the maximum permitted value length.

112

IllegalAttributeForClass

An attribute value cannot be written as the schema class definition does not define the attribute as being mandatory or optional.

113

InvalidAttributeDN

An attribute value cannot be written as the object distinguished name contained within the attribute value does not exist.

114

AttributeValueDoesNotExist

An attribute value was not found on an object.

115

AttributeIsSingleValued

An attribute value cannot be written as the attribute already has a value on an object and the attribute is defined as having only a single value.

116

AttributeIsReadOnly

An attribute value cannot be written since it is marked as read-only.

117

AttributeIsHidden

An attribute value cannot be written since it is marked as hidden.

200

ClassDoesNotExist

No schema class definition exists with a matching name.

201

ClassAlreadyExists

A schema class definition already exists with that name.

202

ClassStillInUse

The schema class definition cannot be removed from the schema as one or more objects of the class still exist.

203

ClassNameTooLong

The schema class definition cannot be created as the name exceeds the maximum name permitted for a schema class definition.

204

ClassInvalidSuperClass

The schema class definition cannot be created due to the fact that one of the definitions super-classes do not exist.

205

ClassInvalidContainmentClass

The schema class definition cannot be created due to the fact that one of the definitions contained by classes do not exist.

206

ClassInvalidNamingAttribute

The schema class definition cannot be created due to the fact that one of the definitions naming attributes are not defined within the schema attribute definitions.

207

ClassInvalidMandatoryAttribute

The schema class definition cannot be created due to the fact that one of the definitions mandatory attributes are not defined within the schema attribute definitions.

208

ClassInvalidOptionalAttribute

The schema class definition cannot be created due to the fact that one of the definitions optional attributes are not defined within the schema attribute definitions.

209

ClassInvalidName

The schema class definition cannot be created due to the fact that the class name is an empty name.

210

ClassInvalidContainmentSubClass

The schema class definition cannot be created due to the fact that one of the definitions contained by super-classes do not exist.

211

ClassInvalidStructure

The schema class definitions cannot be loaded due to one, or more, invalid class or attribute relations.

300

PolicyDoesNotExist

No matching policy was found for the class and attribute combination for the object.

301

PolicyLockStateCollision

An existing policy was found for the class and attribute combination for the object; however the existing policy lock state does not match the lock state of the policy being added.

350

LockNameAlreadyExists

An existing lock was found for the name given in an new lock attempt.

351

LockNameDoesNotExist

The specified name is not locked.

352

LockNameOwnedByAnother

The specified name is locked by another owner.

353

LockNameLimitReached

The specified name or category already has reached the specified concurrent locks allowed limit.

354

LockNameAttemptTimedOut

The specified name is locked by another owner; or has reached the specified concurrent locks allowed limit and could not be acquired within the specified timeout interval.

400

Disadvantageous

The specified object does not exist.

401

ObjectAlreadyExists

An object cannot be created as an object with a matching name already exists.

402

ObjectHasChildren

The object cannot be deleted as the object has one or more subordinate children objects.

403

ObjectNameTooLong

The object cannot be created as the object name exceeds the maximum permitted name length for an object.

404

ObjectDepthTooDeep

The object cannot be created as the object hierarchical parent count exceeds the maximum object depth permitted.

405

ObjectInvalidName

The object cannot be created due to the fact that the object name is empty.

406

ObjectInvalidClass

The object cannot be created due to the fact that no schema class definition was found.

407

ObjectInvalidContainment

The object cannot be created due to the fact that the parent object schema class definition is not defined as a contained-by class within the schema class definition.

408

ObjectMandatoryMissing

The object cannot be created due to the fact that one or more mandatory attributes as defined by the object schema class definition were not provided.

409

ObjectIsReadOnly

The object cannot be modified.

410

ObjectInvalidOperation

The operation not allowed on the object.

500

DriverMissingDSN

No database connection information was found for a storage driver.

501

DriverMissingDatabaseName

The database connection information does not define the storage driver database name.

502

DriverDatabaseError

An error occurred between the storage driver and its database.

503

DriverTransactionError

A transaction error occurred during a write operation within a storage driver.

504

DriverTransactionCollision

An existing write operation between the storage driver and a database is already in progress.

505

DriverGenerationUpdateError

An attempt to update the storage drivers schema generational qualifier failed.

600

CacheLockException

An operation cannot be completed as a schema cache lock management error occurred.

601

CacheEntryNotFound

No matching entry name was found within a schema cache.

602

CacheEntryAlreadyExists

An entry could not be added to a schema cache as an entry with a matching name already exists.

603

CacheEntryIsSuperior

An entry could not be added to the schema cache as an entry with a matching name and definitions exist. However the matching entry contains additional definitions.

604

CacheEntryIsIncompatible

An entry could not be added to a schema cache as an entry with a matching name but with conflicting definitions.

700

XmlInvalidStructure

The XML document structure is invalid for this purpose.

701

XmlMissingNaming

An XML element is missing the name attribute.

702

XmlMissingSyntax

An XML element is missing the syntax attribute.

703

XmlMissingProperty

An XML element is missing the property attribute.

704

XmlUnknownElementAttribute

An XML element has an unknown attribute.

800

AdaptableCredentialNot
SupportedType

The represented credential type by the Adaptable Credential is not supported.

801

AdaptableCredentialScriptHashMismatch

The Adaptable Credential PowerShell script is modified.

802

AdaptableCredentialScriptError

There is an error returned by the Adaptable Credential PowerShell script.

803

AdaptableCredentialInvalid
ConnectorData

The Adaptable Connector data is invalid.

804

AdaptableCredentialUnexpected
ScriptResult

AdaptableCredentialUnexpectedScriptResult

1000

SecretStoreFailed

An attempt to access to the Secret Store failed.

1001

AddAttributeFailed

An attempt to add an attribute failed

1002

UnexpectedException

An unexpected exception occurred.

1003

PartialDeleteFailure

A database error occurred during a delete operation.

1004

CredentialTypeMismatch

The credential password does not match the user name.

1005

NoDriver

The driver is missing.

1006

VaultTypeMismatch

The secret stored in the vault doesn't match the type the credential expects.

1007

DriverDenied

The credential driver denied the request to rename the credential.

1008

VaultDataUnrecognized

The vault data was not any support format.

1009

KeyStoreFailed

The credential failed to be stored in the KeyStore.