Skip to main content

Errors

Every code the API returns, grouped by the area it comes from.

Failure format​

A failed request returns the common failure envelope:

Failure
{
"result": false,
"code": 404,
"errorCode": "RESOURCE_005",
"message": "데이터를 찾을 수 없습니다."
}

Branch on errorCode. code repeats the HTTP status, and message is localized text that can change between releases and languages - never match on it.

Four groups do not use this format

The license endpoints return {"code": number, "error": "ENUM_NAME"}. A failed lock or unlock on a web-office endpoint, and any permission failure there, returns a plain-text body. A CSV import with any failing row returns a text/csv file. An audit log export failure uses the envelope but omits errorCode. Check the status code and Content-Type before parsing a failure as JSON.

The same errorCode can appear with more than one HTTP status, and different endpoints sometimes reuse a code for related but distinct conditions. The tables below note where that happens.

Request and response​

CodeStatusMeaning
REQUEST_001400Request validation failed. message carries the list of fields that failed, not a fixed sentence
REQUEST_006403The API Key's tenant does not match the tenant of the request host
RESPONSE_001500Unexpected server-side failure
AUTH_009403The calling key did not pass the role or scope gate

Authentication and API Keys​

CodeStatusMeaning
API_KEY_001404The key cannot be addressed - it does not exist, or it is outside the surface you called
API_KEY_004401Authentication failed - missing header, unknown value, deactivated or expired key, deactivated account, or wrong tenant domain
API_KEY_006400The target account does not belong to the tenant you named
API_KEY_007400A tenant must be specified for this target
API_KEY_010400Unsupported or disallowed scope combination
API_KEY_011400A super administrator key cannot be given a tenant
API_KEY_012403A key cannot be issued for a different account of the same role
API_KEY_013403A super administrator must use the super admin issue endpoint

See Authentication for what each of these means in context.

Permissions and sharing​

CodeStatusMeaning
PERMISSION_001403The resource is not shared with you
PERMISSION_002403You do not have access to the resource
PERMISSION_003400View permission (cv) cannot be false
PERMISSION_005403The share type does not allow a permission that was sent as true
SHARE_001404The resource is not shared with the named user
SHARE_004404The share was not found
SHARE_005500Updating the share failed
SHARE_007404No share link matches that token
SHARE_008400A parent or child resource already has a share of a different type
SHARE_009500Creating the share failed
SHARE_011403The tenant does not allow SPECIFIC_USERS sharing
SHARE_012403Sharing is disabled
SHARE_013403The share type is not allowed
SHARE_014403Sharing outside the tenant is not allowed
SHARE_TARGET_001500Setting the share targets failed

Resources, files, and folders​

CodeStatusMeaning
RESOURCE_001400, 404Delete failed, and on some endpoints, the resource was not found
RESOURCE_002400Move failed
RESOURCE_005404The resource was not found
RESOURCE_006409A resource with the same name already exists
RESOURCE_009400Restore from trash failed
RESOURCE_014400rs is required for this upload type
RESOURCE_015400Lock failed
RESOURCE_016400Unlock failed
RESOURCE_LOCK_ASPECT_002423The resource is locked
FILE_002404No document template exists for the requested language
QUOTA_003400Not enough storage
QUOTA_004400Not enough storage available on the tenant

Versions​

CodeStatusMeaning
RESOURCE_VERSION_002400Version delete failed
RESOURCE_VERSION_003404The version was not found
RESOURCE_VERSION_006500Version restore failed

Trash, starred, recent, and pinned folders​

CodeStatusMeaning
TRASH_001400Permanent delete failed
TRASH_CLEAN_UP_001400Emptying the trash failed
STARRED_001400Removing the star failed
STARRED_002409The resource is already starred
PINNED_FOLDER_001400Removing the pin failed - it is not yours, or it is already gone
PINNED_FOLDER_002409That folder is already pinned
PINNED_FOLDER_003400At most three folders can be pinned

Notifications​

CodeStatusMeaning
NOTIFICATION_002500Marking as read failed - the notification does not exist or is not yours
NOTIFICATION_003500Marking as unread failed - the notification does not exist or is not yours

Accounts​

CodeStatusMeaning
USER_001400The password does not meet the required pattern
USER_002400The email address is malformed
USER_004409That account id is already in use
USER_005404The account was not found, or it belongs to another tenant
USER_007400Profile image upload failed
USER_008404No profile image is registered
USER_009400The supplied current password does not match
USER_010400The new password matches the previous one
USER_011403The default administrator and your own account cannot be deactivated
USER_012403The default administrator and your own account cannot be deleted
USER_013500Account creation failed - an external key asked for ADMIN, or the licensed seats are exhausted
USER_014400A quota cannot be set below current usage
USER_015400Profile image deletion failed
USER_016400Queueing the account for deletion failed
USER_017400Activation failed
USER_018400Deactivation failed
USER_019400The requested status filter value is not valid
USER_022400MFA reset failed, or the password reset token is not valid
USER_023400The password reset token has expired
USER_025404The account to update was not found
USER_026400A required field is missing on create
USER_027400Country code and phone number must be sent together or both omitted
USER_028400The requested role filter is not valid
ADMIN_USER_001400Restore failed - the account is not in the pending-delete state
ADMIN_USER_002400The requested accounts do not all match accounts actually pending deletion
USER_022 carries two meanings

It reports a failed MFA reset on the admin endpoints and an invalid password reset token on the user endpoints. The two never occur on the same endpoint.

USER_005 is returned for an account in another tenant as well as one that does not exist, so account existence is not disclosed across tenants.

Tenants and domains​

CodeStatusMeaning
TENANT_001404The tenant was not found
TENANT_006409That domain is already in use
TENANT_007400The domain is not valid
BASE_DOMAIN_001404The base domain seq named in bs does not exist
BASE_DOMAIN_002400The base domain is not valid
BASE_DOMAIN_004400The domain must end with the registered base domain

Tenant settings​

CodeStatusMeaning
SSO_PROTOCOL_001400Unsupported SSO protocol
SSO_PROTOCOL_002400The protocol type and the configuration do not match
SSO_PROTOCOL_JWT_002409Another JWT provider already uses that issuer
SSO_PROVIDER_001404The SSO provider was not found
SSO_PROVIDER_005409An active JWT provider already exists; update it by its ssoProviderSeq
SSO_PROVIDER_006409Login settings are enforced by the super administrator
ACCESS_002400Invalid country code
ACCESS_003400Register at least one country or address before enabling the restriction
ACCESS_004400Invalid IP address or CIDR range
BRANDING_001404No branding configuration or custom image was found
BRANDING_002500Image conversion failed
SMTP_CONFIG_001404No SMTP configuration is registered
SMTP_CONFIG_002500The SMTP send failed; check the configuration
SYSTEM_CONFIG_003404The office configuration was not found
SYSTEM_CONFIG_008403Only a super administrator may change general settings in a multi-tenant deployment
STORAGE_002500Download failed
STORAGE_006404That storage key does not exist

License​

The license endpoints use a separate numeric scheme and return {"code": number, "error": "ENUM_NAME"}.

CodeerrorMeaning
6999LICENSEUnexpected failure while processing the license
6998LICENSE_FILE_NOT_EXISTNo license is registered
6997LICENSE_FILE_NOT_VALID_FORMATThe license file format is not valid
6996LICENSE_MANAGER_AUTHENTICATION_FAILEDLicense manager authentication failed
6995LICENSE_FILE_EXPIRATIONThe license has expired
6994LICENSE_UNDER_LIMITExpiry is approaching; returned inside a successful status response
6993LICENSE_EXCEED_LIMITThe seat limit is exceeded; returned inside a successful status response
4999DBReading the uploaded file failed

6994 and 6993 are not HTTP errors. They appear as code inside a successful license status response - see Admin.