2.2.3.2 Error

This element returns an error indication. It contains a restricted string indication, as well as an integer code that corresponds to the string. Optionally, it contains a URL that the user on the protocol client accesses to authenticate and gain the necessary permissions. This element is defined as follows:

 <xs:simpleType name="ErrorTypes">
   <xs:restriction base="xs:string">
     <xs:enumeration value="ServerFailure"/>
     <xs:enumeration value="Failed"/>
     <xs:enumeration value="NoAccess"/>
     <xs:enumeration value="Conflict"/>
     <xs:enumeration value="ItemNotFound"/>
     <xs:enumeration value="MemberNotFound"/>
     <xs:enumeration value="ListNotFound"/>
     <xs:enumeration value="TooManyItems"/>
     <xs:enumeration value="DocumentNotFound"/>
     <xs:enumeration value="FolderNotFound"/>
     <xs:enumeration value="WebContainsSubwebs"/>
     <xs:enumeration value="ADMode"/>
     <xs:enumeration value="AlreadyExists"/>
     <xs:enumeration value="QuotaExceeded"/>
   </xs:restriction>
 </xs:simpleType>
 <xs:element name="Error">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="tns:ErrorTypes">
         <xs:attribute name="ID">
           <xs:simpleType>
             <xs:restriction base="xs:integer">
               <xs:minInclusive value="1"/>
               <xs:maxInclusive value="14"/>
             </xs:restriction>
           </xs:simpleType>
         </xs:attribute>
         <xs:attribute name="AccessUrl" type="xs:string"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>

AccessUrl: This is a URL that the protocol client SHOULD use to gain the necessary access permissions. This attribute can be present when the Error field is set to "NoAccess". This attribute MUST NOT be present in any other case.

Error: This is a string with the error type.

ID: Error type index, converted to a string. The value MUST match the error type as listed in the following table. The returned error codes are also in the following table. See the individual operation specifications for the situations in which these codes are returned. The error types ADMode and MemberNotFound are reserved and not sent.

Error code

ID

ServerFailure

1

Failed

2

NoAccess

3

Conflict

4

ItemNotFound

5

MemberNotFound

6

ListNotFound

7

TooManyItems

8

DocumentNotFound

9

FolderNotFound

10

WebContainsSubwebs

11

ADMode

12

AlreadyExists

13

QuotaExceeded

14