Developer Documentation Library > Mobile SDK > Disconnected mobile application reference > Mobile Synchronization Web Service (MobileSyncWebService) reference > MobileSyncWebService errors
 
MobileSyncWebService errors
The MobileSyncWebService returns the appropriate HTTP status codes for all API requests (for example, the 404 status code when the URL is not valid). In addition to the HTTP status codes, the web service includes error information in the response body. The error response body is formatted as XML according to the format query parameter. The XML error response format is as follows:
<ErrorCode>
  unknown-project
</ErrorCode>
Error codes display in lowercase with hyphens that separate the words. An appropriate HTTP status code is also used for each error. Examples error codes include the following:
logon-fail (HTTP Status 401)
invalid-session-token (HTTP Status 401)
unknown-project (HTTP Status 404)
invalid-post-data (HTTP Status 400)
See also
Mobile Synchronization Web Service (MobileSyncWebService) reference