2.2.3.177.6 Status (FolderUpdate)

The Status element is a required child element of the FolderUpdate element in FolderUpdate command responses that indicates the success or failure of a FolderUpdate command request (section 2.2.1.6).

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

Command request/response

Parent elements

Child elements

Data type

Number allowed

FolderUpdate command response

FolderUpdate (section 2.2.3.77)

None

integer ([MS-ASDTYPE] section 2.6)

1…1 (required)

If the command fails, the Status element contains a code that indicates the type of failure.

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

Code

Meaning

Cause

Scope

Resolution

1

Success.

Server successfully completed command.

Global

None.

2

A folder with that name already exists or the specified folder is a special folder.

A folder with that name already exists or the specified folder is a special folder, such as the Inbox, Outbox, Contacts, or Drafts folders. Special folders cannot be updated.

Item

None.

3

The specified folder is the Recipient information folder, which cannot be updated by the client.

The client specified the Recipient information folder, which is a special folder. Special folders cannot be updated.

Item

None.

4

The specified folder does not exist.

Client specified a nonexistent folder in a FolderUpdate command request.

Item

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

5

The specified parent folder was not found.

Client specified a nonexistent folder in a FolderUpdate command request.

Item

Issue a FolderSync command 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 FolderUpdate command. If continued attempts to synchronization fail, consider returning to synchronization key 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 0.

10

Incorrectly formatted request.

The client sent a FolderUpdate command request that contains a semantic 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