You are here

Error Codes

This topic lists the error codes used by the Client API.

Error Codes

Error codes are consistent across platforms. This means that the error code 101 will mean a user authentication error occurred, regardless of whether the platform is Android, iOS or any platform supported in the future.

Error Codes Table

The following table lists all error codes for supported platforms.

Error Code Description iOS Android
0 An unknown error occurred No Yes
1 An HTTP error response was received (code outside the range 200-299) Yes Yes
2 The requested node could not be found Yes Yes
3 Access Denied. The current user is not allowed to perform the current operation Yes No
4 An I/O error occurred No Yes
100 A session error occurred No Yes
101 The user credentials provided are not authorized to access the server Yes Yes
102 API key or secret were not recognized Yes Yes
103 Authorization code is invalid or expired Yes Yes
104 Access token has expired Yes Yes
105 Refresh token has expired Yes Yes
106 The server connected to does not contain any repositories Yes Yes
107 The user does not belong to any networks Yes Yes
108 Failed to create the authentication provider for the session No Yes
109 Failed to create the service registry for the session No Yes
110 Network request was cancelled (iOS only) Yes No
111 Invalid refresh token (iOS only) Yes (from SDK version 1.1) Yes (added in Android 1.2)
112 Invalid request (iOS only) Yes (from SDK version 1.1) No
113 Invalid client (iOS only) Yes (from SDK version 1.1) No
114 Invalid grant (iOS only) Yes (from SDK version 1.1) No
200 A parsing error occurred Yes Yes
201 The response does not contain JSON data Yes Yes
202 The "entry" object is missing from the JSON response Yes No
203 The "entries" object is missing from the JSON response Yes No
300 A comment service error occurred Yes Yes
301 Failed to retrieve comment Yes No
400 A site service error occurred Yes Yes
401 The document library for the site could not be found Yes No
402 The site could not be found Yes No
403 User is already a member or requested to be a member of the site Yes Yes
404 User cannot be removed from the site as they are the last remaining site manager Yes (added in 1.1) Yes (added in 1.2)
500 An activity stream service error occurred Yes Yes
501 Failed to retrieve activities Yes No
600 A document folder service error occurred Yes Yes
601 Node already exists No Yes
602 The type of the node retrieved from the server is not the correct type Yes Yes
603 Failed to retrieve permissions for node Yes No
604 Failed to convert node Yes No
605 No parent node found Yes No
606 Thumbnail not found Yes No
700 A tagging service error occurred Yes Yes
701 Failed to retrieve tags Yes No
800 A person service error occurred Yes Yes
801 Person not found Yes Yes
802 Avatar for person not found Yes No
900 A search service error occurred Yes Yes
1000 A rating service error occurred Yes Yes
1001 Failed to retrieve tags Yes No
1200 Generic Version Service Error Yes Yes
1300 Generic Model Definition Error Yes Yes
1301 Definition Not Found Yes Yes

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.