Skip to content

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 ​

CodeNameHTTP statusDescription
500FILE_NOT_FOUND404The specified file does not exist (download, deletion, etc.).
501FILE_CORRUPTED_OR_LOCKED403The file cannot be downloaded because it has not been completely uploaded or has not yet been processed by the extensions.
502FILE_EXPIRED403The specified file has exceeded its time to live.
510COMMUNITY_NOT_FOUND404The specified community does not exist.
511TICKET_NOT_FOUND404The internal reference to the file (ticket) cannot be found, usually when working on a file that is being deleted.
512BASE_NODE_IS_NOT_FOLDER400Attempt to list or upload files in a file instead of a folder.
513MOVE_DESTINATION_INVALID400Invalid move destination: a file instead of a folder, a folder nested in the moved folder, or a folder of another community.
514MOVE_SOURCE_INVALID400Attempt to move a community or an inbox directly instead of a subfolder or a file.
515MOVE_DESTINATION_NAME_ALREADY_EXISTS409A file or folder with the specified name already exists at the destination and prevents the move.
516RESUME_OFFSET_TOO_LARGE400Attempt to resume a file upload past the received portion of the file, or resume is not supported.
517COMMUNITY_NOT_MANAGED400The specified community is not a share (people cannot be invited to it).
518TICKET_NOT_ANONYMOUS400Attempt to download a file with the anonymous functionality, but the file was not uploaded as an anonymous file.
519INVALID_TARGETED_RECIPIENTS403The targeted recipients of the transfer are invalid.
520NODE_NOT_FOUND404The specified node (file or folder) does not exist.
521FILE_VERSION_ALREADY_EXISTS409A version of the file already exists; this usually means that the same file is being transferred concurrently.
522TRANSFER_CONTEXT_NOT_FOUND404The transfer context of the upload cannot be found (for example, an unknown document UUID).
523BASE_NODE_IS_NOT_FILE400The specified node is a folder, while the operation expects a file.
524THEME_NOT_FOUND404The specified theme does not exist.
525THEME_NOT_ACTIVE403The specified theme is inactive and cannot be assigned (group, direct access, etc.).
527ANONYMOUS_REQUEST_EMAILS_REQUIRED400At least one recipient is required to create an anonymous transfer.
700SYSTEM_LICENSE_INVALID400The license is invalid.
1000AUTHENTICATION_UNKNOWN404An unexpected error occurred during authentication.
1001AUTHENTICATION_PASSWORD_MISMATCH401The password sent is wrong.
1003AUTHENTICATION_ACCOUNT_LOCKED401The account is locked.
1004AUTHENTICATION_ACCOUNT_EXPIRED401The account is expired.
1005AUTHENTICATION_USERGROUP_IP_VALIDATION_FAILED401The account attempted to authenticate from an IP address that is not allowed.
1006AUTHENTICATION_ACCOUNT_NOT_FOUND401The specified username was not found.
1007AUTHENTICATION_DOMAIN_NOT_FOUND404The specified authentication domain was not found.
1008AUTHENTICATION_AUTO_ENROLLMENT403The account was authenticated successfully, but the user does not exist yet in S-Filer Portal and must auto-enroll.
1009AUTHENTICATION_ACCOUNT_TEMPO_LOCKED401The account was temporarily locked because of too many wrong password attempts.
1010AUTHENTICATION_LINK_ACCOUNT403The account was authenticated successfully, but the user does not exist yet in the domain and existing accounts can be linked.
1012AUTHENTICATION_ACCOUNT_INACTIVE401The account is no longer active: an adopted account is no longer present in its original source.
1013AUTHENTICATION_AMBIGUOUS401The auto-detect option of the domain detected multiple possible accounts.
1014AUTHENTICATION_SSO_NOT_KERBEROS401The SSO token sent by the browser for AD SSO is not a Kerberos token; it is probably an NTLM token.
1015AUTHENTICATION_ANONYMOUS_FILE_DELETED401The file has been deleted because of too many wrong passwords.
1016AUTHENTICATION_OK_BUT_MFA_REQUIRED401Multi-factor authentication (MFA) is required for this user, but it is not supported by the client used (the transfer is refused).
1017AUTHENTICATION_MFA_MISMATCH401The MFA code provided does not match the expected code.
1018AUTHENTICATION_MFA_INVALID_STATUS_FOR_COMPLETE403Cannot complete the enrollment of an MFA method that is not in the ENROLLING status.
1019AUTHENTICATION_MFA_METHOD_NOT_ENABLED400The requested MFA method (TOTP, email code, SMS code) is not enabled for this instance.
1020AUTHENTICATION_EXTERNAL_ACCOUNT_USERNAME_INVALID_FORMAT401The external account username contains invalid characters.
1021AUTHENTICATION_SWITCH_DOMAIN_EXPIRATION_DATE_REACHED403The time limit to complete the linking of an existing account has been reached.
1022AUTHENTICATION_SWITCH_DOMAIN_INVALID_USER403The account or the authentication token does not allow linking an existing account (for example, no link is pending).
1023AUTHENTICATION_SYSTEM_ADMIN_NOT_ALLOWED401The system administrator is not authorized to authenticate on the targeted gateway.
1024AUTHENTICATION_PASSWORD_UNKNOWN_ALGO500The account password cannot be verified because its algorithm is unknown; the password must be reset with the "Forgot Password" functionality.
1025AUTHENTICATION_MFA_METHOD_NOT_CONFIGURED400The user has no active enrollment for the requested MFA method.
1026AUTHENTICATION_MFA_NO_USABLE_METHOD401The 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.
1027CANNOT_DELETE_LAST_MFA_METHOD_WHEN_MFA_ENFORCED403Cannot delete the last active MFA method of a user while MFA is enforced for this user.
1028AUTHENTICATION_MFA_METHOD_NOT_FOUND404The MFA method identifier in the request does not exist for this user.
1029AUTHENTICATION_MFA_EMAIL_REQUIRED409The email code method cannot be configured because the user has no email address.
2001ROAMING_DOWNLOAD_FAILED403Cannot recover the keys required to decrypt the requested file.
2002ROAMING_UPLOAD_FAILED403Cannot recover the community or user keys required to encrypt the file.
3000TOKEN_INVALID401The authentication token sent is invalid (cannot be parsed).
3001TOKEN_EXPIRED401The authentication token sent is expired.
3002TOKEN_NOT_YET_VALID401The authentication token sent is not valid yet.
3004INVALID_REMOTE_IP400The remote IP address in the authentication token does not match the IP address from which the request was received.
4000UNAUTHORIZED401The user is not authorized to perform the action.
4001CANNOT_REMOVE_MANAGED_GROUP_FROM_MANAGED_COMMUNITY400The group associated with a share cannot be removed from the share's community.
4002CANNOT_DELETE_USER_REFERENCED_IN_TEMPLATE403Cannot delete a user that is referenced in a template.
4003CANNOT_DELETE_GROUP_REFERENCED_IN_TEMPLATE403Cannot delete a group that is referenced in a template.
4004CANNOT_DELETE_COMMUNITY_REFERENCED_IN_TEMPLATE403Cannot delete a community that is referenced in a template.
4005CANNOT_DELETE_TEMPLATE_REFERENCED_IN_COMMUNITY403Cannot delete a template that is referenced in a community.
4006CANNOT_DELETE_TOTP_WHEN_MFA_ENFORCED403Cannot delete the active TOTP of a user because MFA is enforced.
4007DIRECT_ACCESS_TOKEN_WITHOUT_EMAIL403Cannot send a notification for a direct access token that has no email address.
4008CANNOT_DELETE_PASSWORD_POLICY_REFERENCED_IN_GROUP403Cannot delete a password policy that is referenced in a group.
5000PERSISTENCE_UNKNOWN404Unexpected internal error while accessing the data in the database; it is also returned when the requested object does not exist.
5001PERSISTENCE_ALREADY_EXIST409Attempt to create an object (user, group, community, file, etc.) with a name that already exists.
5002MAIL_ALREADY_EXIST409No longer used.
5003MAIL_INVALID_NOT_USED_BY_ANY_USER400No longer used.
5004MAIL_USED_BY_MANY_USERS400No longer used.
5005MAIL_DOES_NOT_MATCH_USER401The email address does not match the account when attempting to reset a password.
5006PERSISTENCE_CONNECTION_LOST400The connection to the database has been lost.
5007PERSISTENCE_NON_UNIQUE_RESULT400Several results were obtained when retrieving an object by name, which usually indicates database corruption.
5008PERSISTENCE_NOT_FOUND404An object (user, group, community, etc.) was not found.
5010INVALID_NAME_FORMAT400The specified name (user, group, community) contains invalid characters.
5011INVALID_DOMAIN400The specified authentication domain is invalid.
5012INVALID_FIELD_LENGTH400A submitted value (message, description, etc.) is too long to be stored in the database.
5013INVALID_MAIL_FORMAT400An email address does not have the expected form: user@example.com.
5014INVALID_APPLICATION400Internal error: a component (gateway, web interface, etc.) tried to retrieve a configuration with an invalid instance name.
5015INVALID_APPLICATION_VERSION400A component has a version that is incompatible with the server.
5016PERSISTENCE_DELETE_USER_HIMSELF403An administrator attempted to delete their own account.
5017NO_PERMISSION403The user is not authorized to perform the action.
5018INVALID_INPUT_FIELD400A submitted input field is invalid, or the request body is not valid JSON.
5019CANNOT_RENAME_EXTERNAL_USER400An adopted user cannot be renamed, since the name comes from the adoption source.
5020INVALID_DATE_FORMAT400A submitted date is not in the expected format.
5021INVALID_COMMUNITY_TTL400The community time to live exceeds the global time to live.
5022INVALID_DEFAULT_COMMUNITY400The default community assigned to a user is invalid.
5023PERSISTENCE_DELETE_USER_SHARE_OWNER403The user cannot be deleted because they own a share.
5024CANNOT_UNASSIGN_USER_AUTO_ASSIGNED_TO_COMMUNITY403Cannot unassign a user from a community to which they are automatically assigned.
5025INVALID_COMMUNITY_QUOTA_TOTAL_SIZE400The community quota exceeds the global setting.
5026INVALID_COMMUNITY_QUOTA_MAX_FILE_SIZE400The community maximum file size exceeds the global setting.
5027PERSISTENCE_DELETE_NOTIFICATION_THEME403The notification theme cannot be deleted because it is used by at least one group.
5028INVALID_MAIL_TEMPLATE_BODY400The notification theme could not be updated because the body of a template is invalid.
5029INVALID_MAIL_TEMPLATE_SUBJECT400The notification theme could not be updated because the subject of a template is invalid.
5030CANNOT_DEACTIVATE_THEME_ASSIGNED_TO_GROUP403The notification theme cannot be disabled because it is assigned to one or more groups.
5031CANNOT_ADMIN_COMMUNITY_AS_GUEST403A guest user cannot be an administrator of a community.
5032INVALID_NOTIFICATION_MODE403The notification mode of the content does not allow the requested sending (for example, sending an email for a content whose mode is SMS).
5050EXTENSION_EVENT_NOT_AVAILABLE400The specified extension event is incompatible with this extension.
5051EXTENSION_MAPPING_UPDATE_ERROR400An unexpected error occurred while saving the extension data for a specific event.
6000PASSWORD_INVALID400The password does not comply with the password policy.
6001PASSWORD_FORMAT_INVALID400The new password does not comply with the password rules.
6004PASSWORD_POLICY_NAME_ALREADY_EXISTS409A password policy with the same name already exists.
6005PASSWORD_NOT_SENT401The anonymous file requires a password to be downloaded.
6006PASSWORD_CHANGE_NOT_ALLOWED_IN_EXT_DOMAIN401Cannot change the password of a user in an adopted domain (AD or LDAP).
6007PASSWORD_POLICY_CANNOT_REMOVE_DEFAULT401Cannot unset the default password policy.
6008PASSWORD_NOT_SENT_NO_CHECK401No password was supplied.
6009PASSWORD_INVALID_PASSWORD_POLICY400The specified password policy does not exist.
6010SMS_PROVIDER_UNAVAILABLE503The SMS provider is unavailable.
6011SMS_CODE_SENT_TO_RECIPIENT500Direct access sign-in: an SMS verification code has been sent to the recipient.
6012SMS_SENDING_CODE_FAILED500The SMS verification code could not be sent.
6013SMS_CONSENT_REQUIRED500Direct access sign-in: the recipient must consent to receive an SMS verification code.
6014EMAIL_CODE_SENT_TO_RECIPIENT500Direct access sign-in: an email verification code has been sent to the recipient.
6015EMAIL_SENDING_CODE_FAILED500The email verification code could not be sent.
6016EMAIL_CODE_REQUEST_REQUIRED500Direct access sign-in: the recipient must request an email verification code.
6020ONE_TIME_CODE_SENT_TO_RECIPIENT_EXPIRED500The one-time code sent to the recipient is expired.
6021ONE_TIME_CODE_MISMATCH500The one-time code provided does not match the code sent.
6030PHONE_NUMBER_INVALID400The phone number is invalid.
7000INVALID_PUBLIC_KEY400The specified public key (for SFTP public key login) is invalid.
8000CONFIGURATION_UNKNOWN404An unexpected error occurred while retrieving the configuration of a component.
8001CONFIGURATION_INVALID_PROCESS401An invalid job identifier was specified when starting a batch job.
8002HTTPS_NOT_SUPPORTED403HTTPS file transfer is disabled in the configuration.
8003QUICK_SEND_NOT_SUPPORTED403Quick 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.
8004SHARE_CREATION_NOT_SUPPORTED403Share creation is not enabled. Only the creation of shares is refused; existing shares remain usable. Named SHARES_NOT_SUPPORTED before version 4.21.0.
8005REST_API_VERSION_NOT_ACTIVATED403The targeted version of the REST API is not activated (for V3, the Version 4.21 version flag is disabled).
8006REQUEST_FILES_NOT_SUPPORTED403File requests are not enabled: the Version 4.21 version flag or the Request Files feature flag is disabled.
9000COMMUNICATION_FAILED400Communication failure with an external system, for example the LDAP server during authentication, or the server when it is called by a command-line tool.
9001UNKNOWN_ENUM_USAGE403The data contains an enumeration value that this version of the REST API does not know (see The UNSUPPORTED enumeration value).
9002REQUEST_ENTITY_TOO_LARGE413The size of the request exceeds the configured limit (cfg.server.http.request.content.size.limit).
10000UNKNOWN500Unexpected error; this is the most generic error and does not provide any context.
10001SERVICE_WORKER_ERROR500The Service Worker used for end-to-end encryption in the browser encountered an error.
10002DATABASE_CONNEXION_ERROR500Command-line tool: unable to connect to or communicate with the database.
10003INVALID_CONFIGURATION_FILE_ERROR500Command-line tool: the configuration file does not exist, is not a file or cannot be read.
10004DATABASE_SCHEMA_VALIDATION_ERROR500Command-line tool: the database schema could not be validated.
10005DATABASE_SCHEMA_UPDATE_NEEDED500Command-line tool: the database schema must be updated.
11000UNAUTHORIZED_DELETE_FILE_LOCKED401Deleting a locked file is not authorized.
11001RESTRICTED_USER_ADMIN400A restricted user cannot be an administrator.
20000TRANSFER_UNKNOWN404Unexpected error while uploading or downloading a file.
20001TRANSFER_INVALID_EXPIRATION_DATE400The specified expiration date of a file is invalid.
20002TRANSFER_REFUSED_TASK_THROTTLING503The transfer was refused because the system is overloaded. Try again later.
20003TRANSFER_EXPIRATION_DATE_EXCEEDED400The 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.
30001TRANSFER_TOTAL_QUOTA_EXCEEDED413The transfer exceeds the total quota.
30002TRANSFER_COMMUNITY_QUOTA_EXCEEDED413The transfer exceeds the community quota.
30003TRANSFER_USER_QUOTA_EXCEEDED413The transfer exceeds the user quota.
30004TRANSFER_FILE_SIZE_QUOTA_EXCEEDED413The file exceeds the maximum file size.
30005TRANSFER_SHARE_OWNER_QUOTA_EXCEEDED413The transfer exceeds the quota of the share owner.
40000STORAGE_NOT_FOUND404The storage does not exist.
40001STORAGE_FORBIDDEN403The storage is inactive and cannot be used.
40002STORAGE_UNAVAILABLE503The storage is temporarily unavailable.
50001NOTIFICATION_THEME_FORBIDDEN403The 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.

CodeNameRemoved inFormer description
1002AUTHENTICATION_PASSWORD_EXPIRED4.15.0The password was expired and had to be changed.
1011AUTHENTICATION_OK_BUT_ACKNOLEDGMENT_NEEDED4.15.0The account was authenticated, but the user had to acknowledge the notice.
3003TOKEN_INVALID_SIGNATURE4.19.1The signature of the authentication token could not be verified.
6002PASSWORD_MISMATCH4.15.0The password did not match the account password.
6003PASSWORD_CHANGE_NOT_ALLOW_FOR_NOW4.15.0The 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.