2.2.3.177.4 Status (FolderDelete)

The Status element is a required child element of the FolderDelete element in FolderDelete command responses that indicates the success or failure of the FolderDelete command request (section 2.2.1.4). If the command failed, the Status element in the server response contains a code indicating the type of failure.

All elements referenced in this section are defined in the FolderHierarchy namespace.

Command request/response

Parent elements

Child elements

Data type

Number allowed

FolderDelete command response

FolderDelete (section 2.2.3.73)

None

integer ([MS-ASDTYPE] section 2.6)

1…1 (required)

The following table lists the status codes for the FolderDelete command (section 2.2.1.4). For information about the scope of the status value and for status values common to all ActiveSync commands, see section 2.2.2.

Value

Meaning

Cause

Scope

Resolution

1

Success.

Server successfully completed command.

Global

None.

3

The specified folder is a special system folder, such as the Inbox folder, Outbox folder, Contacts folder, Recipient information, or Drafts folder, and cannot be deleted by the client.

The client specified a special folder in a FolderDelete command request (section 2.2.1.4). special folders cannot be deleted.

Item

None.

4

The specified folder does not exist.

The client specified a nonexistent folder in a FolderDelete command request.

Item

Issue a FolderSync command (section 2.2.1.5) for the new hierarchy.

6

An error occurred on the server.

Server misconfiguration, temporary system issue, or bad item. This is frequently a transient condition.

Global

Retry the FolderDelete command. If continued attempts to synchronization fail, consider returning to synchronization key zero (0).

9

Synchronization key mismatch or invalid synchronization key.

The client sent a malformed or mismatched synchronization key, or the synchronization state is corrupted on the server.

Global

Issue a FolderSync command request with a synchronization key of zero (0).

10

Incorrectly formatted request.

The client sent a FolderDelete command request (section 2.2.1.4) that contains a semantic or syntactic error.

Global

Double-check the request for accuracy.

11

An unknown error occurred.

Unusual back-end issue.

Global

None.

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

Yes

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes