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 must stay enabled while any other permission is on
SHARE_001404The resource is not shared with the named user
SHARE_004404The share was not found
SHARE_007404No share link matches that token

Resources, files, and folders

CodeStatusMeaning
RESOURCE_001400, 404Delete failed, and on some endpoints, the resource was not found
RESOURCE_005404The resource was not found
RESOURCE_009400Restore from trash failed
RESOURCE_015400Not enough storage, or lock and unlock failed, depending on the endpoint
RESOURCE_016400Unlock failed; returned as plain text by the web-office endpoints
QUOTA_003400Not enough storage to create the document
QUOTA_004400Not enough storage available on the tenant
RESOURCE_015 carries two meanings

On the file and document endpoints it reports a storage shortfall. On the resource lock and unlock endpoints it reports a failed lock. Read it together with the endpoint you called.

Versions

CodeStatusMeaning
RESOURCE_VERSION_002400Version delete failed
RESOURCE_VERSION_003404The version was not found
RESOURCE_VERSION_005500Unexpected failure while restoring a version

Trash, starred, recent, and pinned folders

CodeStatusMeaning
TRASH_001400Permanent delete failed
TRASH_CLEAN_UP_001400Emptying the trash failed
STARRED_001400Removing the star failed
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
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_001404No base domain is configured, or the base domain seq you named 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
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.