2.2.3.64 ErrorCode

The ErrorCode element is an optional child element of the Error element in Autodiscover command responses that specifies an error number that indicates the cause of the error.

Command request/response

Parent elements

Child elements

Data type

Number allowed

Autodiscover command response (section 2.2.1.1)

Error (section 2.2.3.63)

None

integer ([MS-ASDTYPE] section 2.6)

0...1 (optional)

If the provider cannot be found, or if the AcceptableResponseSchema element (section 2.2.3.1) value cannot be matched, then the ErrorCode element is included in the command response. A value of 600 means an invalid request was sent to the server; a value of 601 means that a provider could not be found to handle the AcceptableResponseSchema element value that was specified.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes