ApiErrorCode

Error codes that can be returned as validation result codes.

Values

NameDescription
Unknown

Unknown error. See message for full details.

ArgumentInvalid

An argument was invalid. For example, it may contain invalid characters or may be missing required characters.

OutOfRange

An argument was out of range. See the message for the valid range.

Required

A required argument was not specified.

NotFound

A referenced object was not found.

Conflict

The operation would result in a conflict. For example, it may specify a name that is already in use.

InvalidCredential

A specified credential was invalid. For example, the password was incorrect. Not the same as Unauthorized.

Unauthorized

Caller is not authorized to perform an operation.

NotCompatible

The call would result in an incompatible relationship; for example, an offering with a XenDesktop delivery site and XenApp session machines.

CouldNotValidate

An argument could not be validated; therefore, it cannot be assumed to be either valid or invalid. The message explains what is necessary to validate the argument.