ErrorCode (SOAP)

The ErrorCode element represents an error code that is returned by the Autodiscover service.

<ErrorCode/>

string

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

None.

Parent elements

Element Description
AutodiscoverResponse (SOAP)
Represents the base type for all responses that are returned by the Autodiscover service.
DomainResponse (SOAP)
Contains the requested settings for the specified domain.
GetDomainSettingsResponse (SOAP)
Contains the response to a GetDomainSettings operation (SOAP) call for an individual domain.
GetFederationInformationResponse (SOAP)
Contains the response to a GetFederationInformation operation (SOAP) request.
Response (SOAP)
Contains the response to a GetUserSettings operation (SOAP)request.
UserSettingError (SOAP)
Represents an error that is returned while retrieving a user setting.
UserResponse (SOAP)
Represents a response to a GetUserSettings operation (SOAP) request for an individual user.

Text value

The text value represents the error code for an Autodiscover error response. The following table lists the possible text values for the ErrorCode element.

Error code text value Description
NoError
There was no error.
RedirectAddress
The caller must follow the e-mail address redirection that was returned by Autodiscover.
RedirectUrl
The caller must follow the URL redirection that was returned by Autodiscover.
InvalidUser
The user that was passed in the request is invalid.
InvalidRequest
The request is invalid.
InvalidSetting
A specified setting is invalid.
SettingIsNotAvailable
A specified setting is not available.
ServerBusy
The server is too busy to process the request.
InvalidDomain
The requested domain is not valid.
NotFederated
The organization is not federated.
InternalServerError
There is an internal server error.

Element information

Element Example
Namespace
https://schemas.microsoft.com/exchange/2010/Autodiscover
Schema Name
Autodiscover schema
Validation File
Messages.xsd
Can be Empty
True

See also

GetUserSettings operation (SOAP)

GetDomainSettings operation (SOAP)

GetFederationInformation operation (SOAP)