Application Error Codes
This page lists the application error codes of S-Filer Portal 4.21.0. The REST API returns them in the code field of the error object (see Error Handling); the other components (web interface, command-line tools) use them too.
The HTTP status column gives the status the REST API returns with each code. A status of 500 for a code that the REST API does not normally return (for example, the codes used by the command-line tools or by the direct access sign-in) only reflects the default mapping.
Warning
The REST API sets the status of codes 9001 (403) and 9002 (413) directly, rather than through the default mapping.
Error codes
| Code | Name | HTTP status | Description |
|---|---|---|---|
| 500 | FILE_NOT_FOUND | 404 | The specified file does not exist (download, deletion, etc.). |
| 501 | FILE_CORRUPTED_OR_LOCKED | 403 | The file cannot be downloaded because it has not been completely uploaded or has not yet been processed by the extensions. |
| 502 | FILE_EXPIRED | 403 | The specified file has exceeded its time to live. |
| 510 | COMMUNITY_NOT_FOUND | 404 | The specified community does not exist. |
| 511 | TICKET_NOT_FOUND | 404 | The internal reference to the file (ticket) cannot be found, usually when working on a file that is being deleted. |
| 512 | BASE_NODE_IS_NOT_FOLDER | 400 | Attempt to list or upload files in a file instead of a folder. |
| 513 | MOVE_DESTINATION_INVALID | 400 | Invalid move destination: a file instead of a folder, a folder nested in the moved folder, or a folder of another community. |
| 514 | MOVE_SOURCE_INVALID | 400 | Attempt to move a community or an inbox directly instead of a subfolder or a file. |
| 515 | MOVE_DESTINATION_NAME_ALREADY_EXISTS | 409 | A file or folder with the specified name already exists at the destination and prevents the move. |
| 516 | RESUME_OFFSET_TOO_LARGE | 400 | Attempt to resume a file upload past the received portion of the file, or resume is not supported. |
| 517 | COMMUNITY_NOT_MANAGED | 400 | The specified community is not a share (people cannot be invited to it). |
| 518 | TICKET_NOT_ANONYMOUS | 400 | Attempt to download a file with the anonymous functionality, but the file was not uploaded as an anonymous file. |
| 519 | INVALID_TARGETED_RECIPIENTS | 403 | The targeted recipients of the transfer are invalid. |
| 520 | NODE_NOT_FOUND | 404 | The specified node (file or folder) does not exist. |
| 521 | FILE_VERSION_ALREADY_EXISTS | 409 | A version of the file already exists; this usually means that the same file is being transferred concurrently. |
| 522 | TRANSFER_CONTEXT_NOT_FOUND | 404 | The transfer context of the upload cannot be found (for example, an unknown document UUID). |
| 523 | BASE_NODE_IS_NOT_FILE | 400 | The specified node is a folder, while the operation expects a file. |
| 524 | THEME_NOT_FOUND | 404 | The specified theme does not exist. |
| 525 | THEME_NOT_ACTIVE | 403 | The specified theme is inactive and cannot be assigned (group, direct access, etc.). |
| 527 | ANONYMOUS_REQUEST_EMAILS_REQUIRED | 400 | At least one recipient is required to create an anonymous transfer. |
| 700 | SYSTEM_LICENSE_INVALID | 400 | The license is invalid. |
| 1000 | AUTHENTICATION_UNKNOWN | 404 | An unexpected error occurred during authentication. |
| 1001 | AUTHENTICATION_PASSWORD_MISMATCH | 401 | The password sent is wrong. |
| 1003 | AUTHENTICATION_ACCOUNT_LOCKED | 401 | The account is locked. |
| 1004 | AUTHENTICATION_ACCOUNT_EXPIRED | 401 | The account is expired. |
| 1005 | AUTHENTICATION_USERGROUP_IP_VALIDATION_FAILED | 401 | The account attempted to authenticate from an IP address that is not allowed. |
| 1006 | AUTHENTICATION_ACCOUNT_NOT_FOUND | 401 | The specified username was not found. |
| 1007 | AUTHENTICATION_DOMAIN_NOT_FOUND | 404 | The specified authentication domain was not found. |
| 1008 | AUTHENTICATION_AUTO_ENROLLMENT | 403 | The account was authenticated successfully, but the user does not exist yet in S-Filer Portal and must auto-enroll. |
| 1009 | AUTHENTICATION_ACCOUNT_TEMPO_LOCKED | 401 | The account was temporarily locked because of too many wrong password attempts. |
| 1010 | AUTHENTICATION_LINK_ACCOUNT | 403 | The account was authenticated successfully, but the user does not exist yet in the domain and existing accounts can be linked. |
| 1012 | AUTHENTICATION_ACCOUNT_INACTIVE | 401 | The account is no longer active: an adopted account is no longer present in its original source. |
| 1013 | AUTHENTICATION_AMBIGUOUS | 401 | The auto-detect option of the domain detected multiple possible accounts. |
| 1014 | AUTHENTICATION_SSO_NOT_KERBEROS | 401 | The SSO token sent by the browser for AD SSO is not a Kerberos token; it is probably an NTLM token. |
| 1015 | AUTHENTICATION_ANONYMOUS_FILE_DELETED | 401 | The file has been deleted because of too many wrong passwords. |
| 1016 | AUTHENTICATION_OK_BUT_MFA_REQUIRED | 401 | Multi-factor authentication (MFA) is required for this user, but it is not supported by the client used (the transfer is refused). |
| 1017 | AUTHENTICATION_MFA_MISMATCH | 401 | The MFA code provided does not match the expected code. |
| 1018 | AUTHENTICATION_MFA_INVALID_STATUS_FOR_COMPLETE | 403 | Cannot complete the enrollment of an MFA method that is not in the ENROLLING status. |
| 1019 | AUTHENTICATION_MFA_METHOD_NOT_ENABLED | 400 | The requested MFA method (TOTP, email code, SMS code) is not enabled for this instance. |
| 1020 | AUTHENTICATION_EXTERNAL_ACCOUNT_USERNAME_INVALID_FORMAT | 401 | The external account username contains invalid characters. |
| 1021 | AUTHENTICATION_SWITCH_DOMAIN_EXPIRATION_DATE_REACHED | 403 | The time limit to complete the linking of an existing account has been reached. |
| 1022 | AUTHENTICATION_SWITCH_DOMAIN_INVALID_USER | 403 | The account or the authentication token does not allow linking an existing account (for example, no link is pending). |
| 1023 | AUTHENTICATION_SYSTEM_ADMIN_NOT_ALLOWED | 401 | The system administrator is not authorized to authenticate on the targeted gateway. |
| 1024 | AUTHENTICATION_PASSWORD_UNKNOWN_ALGO | 500 | The account password cannot be verified because its algorithm is unknown; the password must be reset with the "Forgot Password" functionality. |
| 1025 | AUTHENTICATION_MFA_METHOD_NOT_CONFIGURED | 400 | The user has no active enrollment for the requested MFA method. |
| 1026 | AUTHENTICATION_MFA_NO_USABLE_METHOD | 401 | The user must complete MFA but has no configured method that is still allowed (for example, the method was disabled after enrollment), or the last enabled method cannot be disabled while MFA is enforced. |
| 1027 | CANNOT_DELETE_LAST_MFA_METHOD_WHEN_MFA_ENFORCED | 403 | Cannot delete the last active MFA method of a user while MFA is enforced for this user. |
| 1028 | AUTHENTICATION_MFA_METHOD_NOT_FOUND | 404 | The MFA method identifier in the request does not exist for this user. |
| 1029 | AUTHENTICATION_MFA_EMAIL_REQUIRED | 409 | The email code method cannot be configured because the user has no email address. |
| 2001 | ROAMING_DOWNLOAD_FAILED | 403 | Cannot recover the keys required to decrypt the requested file. |
| 2002 | ROAMING_UPLOAD_FAILED | 403 | Cannot recover the community or user keys required to encrypt the file. |
| 3000 | TOKEN_INVALID | 401 | The authentication token sent is invalid (cannot be parsed). |
| 3001 | TOKEN_EXPIRED | 401 | The authentication token sent is expired. |
| 3002 | TOKEN_NOT_YET_VALID | 401 | The authentication token sent is not valid yet. |
| 3004 | INVALID_REMOTE_IP | 400 | The remote IP address in the authentication token does not match the IP address from which the request was received. |
| 4000 | UNAUTHORIZED | 401 | The user is not authorized to perform the action. |
| 4001 | CANNOT_REMOVE_MANAGED_GROUP_FROM_MANAGED_COMMUNITY | 400 | The group associated with a share cannot be removed from the share's community. |
| 4002 | CANNOT_DELETE_USER_REFERENCED_IN_TEMPLATE | 403 | Cannot delete a user that is referenced in a template. |
| 4003 | CANNOT_DELETE_GROUP_REFERENCED_IN_TEMPLATE | 403 | Cannot delete a group that is referenced in a template. |
| 4004 | CANNOT_DELETE_COMMUNITY_REFERENCED_IN_TEMPLATE | 403 | Cannot delete a community that is referenced in a template. |
| 4005 | CANNOT_DELETE_TEMPLATE_REFERENCED_IN_COMMUNITY | 403 | Cannot delete a template that is referenced in a community. |
| 4006 | CANNOT_DELETE_TOTP_WHEN_MFA_ENFORCED | 403 | Cannot delete the active TOTP of a user because MFA is enforced. |
| 4007 | DIRECT_ACCESS_TOKEN_WITHOUT_EMAIL | 403 | Cannot send a notification for a direct access token that has no email address. |
| 4008 | CANNOT_DELETE_PASSWORD_POLICY_REFERENCED_IN_GROUP | 403 | Cannot delete a password policy that is referenced in a group. |
| 5000 | PERSISTENCE_UNKNOWN | 404 | Unexpected internal error while accessing the data in the database; it is also returned when the requested object does not exist. |
| 5001 | PERSISTENCE_ALREADY_EXIST | 409 | Attempt to create an object (user, group, community, file, etc.) with a name that already exists. |
| 5002 | MAIL_ALREADY_EXIST | 409 | No longer used. |
| 5003 | MAIL_INVALID_NOT_USED_BY_ANY_USER | 400 | No longer used. |
| 5004 | MAIL_USED_BY_MANY_USERS | 400 | No longer used. |
| 5005 | MAIL_DOES_NOT_MATCH_USER | 401 | The email address does not match the account when attempting to reset a password. |
| 5006 | PERSISTENCE_CONNECTION_LOST | 400 | The connection to the database has been lost. |
| 5007 | PERSISTENCE_NON_UNIQUE_RESULT | 400 | Several results were obtained when retrieving an object by name, which usually indicates database corruption. |
| 5008 | PERSISTENCE_NOT_FOUND | 404 | An object (user, group, community, etc.) was not found. |
| 5010 | INVALID_NAME_FORMAT | 400 | The specified name (user, group, community) contains invalid characters. |
| 5011 | INVALID_DOMAIN | 400 | The specified authentication domain is invalid. |
| 5012 | INVALID_FIELD_LENGTH | 400 | A submitted value (message, description, etc.) is too long to be stored in the database. |
| 5013 | INVALID_MAIL_FORMAT | 400 | An email address does not have the expected form: user@example.com. |
| 5014 | INVALID_APPLICATION | 400 | Internal error: a component (gateway, web interface, etc.) tried to retrieve a configuration with an invalid instance name. |
| 5015 | INVALID_APPLICATION_VERSION | 400 | A component has a version that is incompatible with the server. |
| 5016 | PERSISTENCE_DELETE_USER_HIMSELF | 403 | An administrator attempted to delete their own account. |
| 5017 | NO_PERMISSION | 403 | The user is not authorized to perform the action. |
| 5018 | INVALID_INPUT_FIELD | 400 | A submitted input field is invalid, or the request body is not valid JSON. |
| 5019 | CANNOT_RENAME_EXTERNAL_USER | 400 | An adopted user cannot be renamed, since the name comes from the adoption source. |
| 5020 | INVALID_DATE_FORMAT | 400 | A submitted date is not in the expected format. |
| 5021 | INVALID_COMMUNITY_TTL | 400 | The community time to live exceeds the global time to live. |
| 5022 | INVALID_DEFAULT_COMMUNITY | 400 | The default community assigned to a user is invalid. |
| 5023 | PERSISTENCE_DELETE_USER_SHARE_OWNER | 403 | The user cannot be deleted because they own a share. |
| 5024 | CANNOT_UNASSIGN_USER_AUTO_ASSIGNED_TO_COMMUNITY | 403 | Cannot unassign a user from a community to which they are automatically assigned. |
| 5025 | INVALID_COMMUNITY_QUOTA_TOTAL_SIZE | 400 | The community quota exceeds the global setting. |
| 5026 | INVALID_COMMUNITY_QUOTA_MAX_FILE_SIZE | 400 | The community maximum file size exceeds the global setting. |
| 5027 | PERSISTENCE_DELETE_NOTIFICATION_THEME | 403 | The notification theme cannot be deleted because it is used by at least one group. |
| 5028 | INVALID_MAIL_TEMPLATE_BODY | 400 | The notification theme could not be updated because the body of a template is invalid. |
| 5029 | INVALID_MAIL_TEMPLATE_SUBJECT | 400 | The notification theme could not be updated because the subject of a template is invalid. |
| 5030 | CANNOT_DEACTIVATE_THEME_ASSIGNED_TO_GROUP | 403 | The notification theme cannot be disabled because it is assigned to one or more groups. |
| 5031 | CANNOT_ADMIN_COMMUNITY_AS_GUEST | 403 | A guest user cannot be an administrator of a community. |
| 5032 | INVALID_NOTIFICATION_MODE | 403 | The notification mode of the content does not allow the requested sending (for example, sending an email for a content whose mode is SMS). |
| 5050 | EXTENSION_EVENT_NOT_AVAILABLE | 400 | The specified extension event is incompatible with this extension. |
| 5051 | EXTENSION_MAPPING_UPDATE_ERROR | 400 | An unexpected error occurred while saving the extension data for a specific event. |
| 6000 | PASSWORD_INVALID | 400 | The password does not comply with the password policy. |
| 6001 | PASSWORD_FORMAT_INVALID | 400 | The new password does not comply with the password rules. |
| 6004 | PASSWORD_POLICY_NAME_ALREADY_EXISTS | 409 | A password policy with the same name already exists. |
| 6005 | PASSWORD_NOT_SENT | 401 | The anonymous file requires a password to be downloaded. |
| 6006 | PASSWORD_CHANGE_NOT_ALLOWED_IN_EXT_DOMAIN | 401 | Cannot change the password of a user in an adopted domain (AD or LDAP). |
| 6007 | PASSWORD_POLICY_CANNOT_REMOVE_DEFAULT | 401 | Cannot unset the default password policy. |
| 6008 | PASSWORD_NOT_SENT_NO_CHECK | 401 | No password was supplied. |
| 6009 | PASSWORD_INVALID_PASSWORD_POLICY | 400 | The specified password policy does not exist. |
| 6010 | SMS_PROVIDER_UNAVAILABLE | 503 | The SMS provider is unavailable. |
| 6011 | SMS_CODE_SENT_TO_RECIPIENT | 500 | Direct access sign-in: an SMS verification code has been sent to the recipient. |
| 6012 | SMS_SENDING_CODE_FAILED | 500 | The SMS verification code could not be sent. |
| 6013 | SMS_CONSENT_REQUIRED | 500 | Direct access sign-in: the recipient must consent to receive an SMS verification code. |
| 6014 | EMAIL_CODE_SENT_TO_RECIPIENT | 500 | Direct access sign-in: an email verification code has been sent to the recipient. |
| 6015 | EMAIL_SENDING_CODE_FAILED | 500 | The email verification code could not be sent. |
| 6016 | EMAIL_CODE_REQUEST_REQUIRED | 500 | Direct access sign-in: the recipient must request an email verification code. |
| 6020 | ONE_TIME_CODE_SENT_TO_RECIPIENT_EXPIRED | 500 | The one-time code sent to the recipient is expired. |
| 6021 | ONE_TIME_CODE_MISMATCH | 500 | The one-time code provided does not match the code sent. |
| 6030 | PHONE_NUMBER_INVALID | 400 | The phone number is invalid. |
| 7000 | INVALID_PUBLIC_KEY | 400 | The specified public key (for SFTP public key login) is invalid. |
| 8000 | CONFIGURATION_UNKNOWN | 404 | An unexpected error occurred while retrieving the configuration of a component. |
| 8001 | CONFIGURATION_INVALID_PROCESS | 401 | An invalid job identifier was specified when starting a batch job. |
| 8002 | HTTPS_NOT_SUPPORTED | 403 | HTTPS file transfer is disabled in the configuration. |
| 8003 | QUICK_SEND_NOT_SUPPORTED | 403 | Quick Send is turned off. Before the Version 4.21 version flag is enabled, by the Enable "Quick Send" feature for the REST API setting of the server; afterwards, by the Quick Send feature flag, and that setting is ignored. |
| 8004 | SHARE_CREATION_NOT_SUPPORTED | 403 | Share creation is not enabled. Only the creation of shares is refused; existing shares remain usable. Named SHARES_NOT_SUPPORTED before version 4.21.0. |
| 8005 | REST_API_VERSION_NOT_ACTIVATED | 403 | The targeted version of the REST API is not activated (for V3, the Version 4.21 version flag is disabled). |
| 8006 | REQUEST_FILES_NOT_SUPPORTED | 403 | File requests are not enabled: the Version 4.21 version flag or the Request Files feature flag is disabled. |
| 9000 | COMMUNICATION_FAILED | 400 | Communication failure with an external system, for example the LDAP server during authentication, or the server when it is called by a command-line tool. |
| 9001 | UNKNOWN_ENUM_USAGE | 403 | The data contains an enumeration value that this version of the REST API does not know (see The UNSUPPORTED enumeration value). |
| 9002 | REQUEST_ENTITY_TOO_LARGE | 413 | The size of the request exceeds the configured limit (cfg.server.http.request.content.size.limit). |
| 10000 | UNKNOWN | 500 | Unexpected error; this is the most generic error and does not provide any context. |
| 10001 | SERVICE_WORKER_ERROR | 500 | The Service Worker used for end-to-end encryption in the browser encountered an error. |
| 10002 | DATABASE_CONNEXION_ERROR | 500 | Command-line tool: unable to connect to or communicate with the database. |
| 10003 | INVALID_CONFIGURATION_FILE_ERROR | 500 | Command-line tool: the configuration file does not exist, is not a file or cannot be read. |
| 10004 | DATABASE_SCHEMA_VALIDATION_ERROR | 500 | Command-line tool: the database schema could not be validated. |
| 10005 | DATABASE_SCHEMA_UPDATE_NEEDED | 500 | Command-line tool: the database schema must be updated. |
| 11000 | UNAUTHORIZED_DELETE_FILE_LOCKED | 401 | Deleting a locked file is not authorized. |
| 11001 | RESTRICTED_USER_ADMIN | 400 | A restricted user cannot be an administrator. |
| 20000 | TRANSFER_UNKNOWN | 404 | Unexpected error while uploading or downloading a file. |
| 20001 | TRANSFER_INVALID_EXPIRATION_DATE | 400 | The specified expiration date of a file is invalid. |
| 20002 | TRANSFER_REFUSED_TASK_THROTTLING | 503 | The transfer was refused because the system is overloaded. Try again later. |
| 20003 | TRANSFER_EXPIRATION_DATE_EXCEEDED | 400 | The expiration date of a file exceeds the maximum retention period (the file time to live of the community, or else the Maximum File Retention Period in days of the server configuration), when uploading a file or changing its time to live. Since version 4.21.0, an upload through POST /http/anonymous, POST /http/node or POST /http/members reports this case with 5018 (INVALID_INPUT_FIELD) instead. |
| 30001 | TRANSFER_TOTAL_QUOTA_EXCEEDED | 413 | The transfer exceeds the total quota. |
| 30002 | TRANSFER_COMMUNITY_QUOTA_EXCEEDED | 413 | The transfer exceeds the community quota. |
| 30003 | TRANSFER_USER_QUOTA_EXCEEDED | 413 | The transfer exceeds the user quota. |
| 30004 | TRANSFER_FILE_SIZE_QUOTA_EXCEEDED | 413 | The file exceeds the maximum file size. |
| 30005 | TRANSFER_SHARE_OWNER_QUOTA_EXCEEDED | 413 | The transfer exceeds the quota of the share owner. |
| 40000 | STORAGE_NOT_FOUND | 404 | The storage does not exist. |
| 40001 | STORAGE_FORBIDDEN | 403 | The storage is inactive and cannot be used. |
| 40002 | STORAGE_UNAVAILABLE | 503 | The storage is temporarily unavailable. |
| 50001 | NOTIFICATION_THEME_FORBIDDEN | 403 | The operation is not allowed on the base notification theme (update or deletion). |
Codes no longer used
The following codes no longer exist. They are listed with the first version that no longer defines them.
| Code | Name | Removed in | Former description |
|---|---|---|---|
| 1002 | AUTHENTICATION_PASSWORD_EXPIRED | 4.15.0 | The password was expired and had to be changed. |
| 1011 | AUTHENTICATION_OK_BUT_ACKNOLEDGMENT_NEEDED | 4.15.0 | The account was authenticated, but the user had to acknowledge the notice. |
| 3003 | TOKEN_INVALID_SIGNATURE | 4.19.1 | The signature of the authentication token could not be verified. |
| 6002 | PASSWORD_MISMATCH | 4.15.0 | The password did not match the account password. |
| 6003 | PASSWORD_CHANGE_NOT_ALLOW_FOR_NOW | 4.15.0 | The user attempted to change their password too soon after the previous change. |
Warning
Code 6004 was used by PASSWORD_IN_HISTORY (the password was already in the password history) before version 4.15.0; it is now used by PASSWORD_POLICY_NAME_ALREADY_EXISTS.
