Skip to main content

6) Definition of SKMS Response Status Codes

Definition of SKMS Response Status Codes

Description

Response Code

Status CodeStatus MessageDescription
200OKRequest successful
400Bad RequestClient request is incorrect (e.g. missing required value)
401UnauthorizedNot approved (authentication failed)
403ForbiddenNot permitted (when the request is not authorized for the user, although authentication has been completed)
404Not FoundResource not found
500Internal Server ErrorAn internal server error occurred while processing the request.

Response Error JSON format

NameRequiredTypeDescription
coderequiredintError Code (Refer to Error Code Definition)
messagerequiredstringError Message
detailstringError details (the specifics may vary depending on the error)

Error Code

  • Error Code Definition
error codemessageDescriptionStatus Code
40003Failed create headerHeader creation failed400
40004Failed extract headerHeader extraction failed400
40005Batch/Scheduler FailedBatch/Scheduler Failure400
40006oAuth connection failedAuthentication connection failed400
40007Integrated Log Service FailedIntegrated Log Service Failure400
40008Key Vault Service FailedKeybolt Service Failure400
40009Service Linker Key Manager is not usedKey data integration failure400
40011Unable to AzureInfoFailed to retrieve Azure information400
40012Relay client accessToken FailedRelay token renewal failed400
40013Key not found in the keyVaultFailed to retrieve key from Keybolt400
40101Invalid tokenInvalid token401
40102No matching company ID foundNo matching company_id400
40103Failed Duplicate domainDuplicate Domain400
40104No matching domains foundNo matching domain400
40105Required value is missingNo required value400
40107No matching license foundNo matching license400
40108Unavailable LicenseUnavailable License400
40110HeaderKey is EmptyNo matching header key400
40111EncryptionKey is EmptyNo matching encryption key
- DS_KEY_ENCRYPTION_KEY
400
40112No matching SCI ServerID foundNo matching SCI server ID found400
40301You don't have permission this serviceAccess Denied401
50001An unexpected error has occurred in the internal systemInternal Service Error500
50002SCI Connection failedFailed to connect to SCI server500
50003Service Linker Name is Not ExistThe SHIELDRM service name does not exist.500
50004Service Linker is UnusedUnused SHIELDRM service500
50005SCI Service Linker registration FailedFailed to register SCI server integration system500

Examples

Response

Status code : 400 Bad Request

{
"code": 40013,
"message": "Key not found in the keyVault",
"detail": "keyId : 0000009"
}

{
"code": 40003,
"message": "Failed create header",
"detail": "4020"
}
  • Status code : 500 INTERNAL_SERVER_ERROR
{
"code": 50001,
"message": "An unexpected error has occurred in the internal system",
"detail": "I/O error on GET request for \"https://devkms.softcamp.co.kr:8080/drm/7FDKQsEK-QVGKyXA2-fx1LxIzy-SNIre0s9/key/0000003\": Connect to devkms.softcamp.co.kr:8080 [devkms.softcamp.co.kr/10.14.10.171] failed: Connection timed out: connect; nested exception is org.apache.http.conn.HttpHostConnectException: Connect to devkms.softcamp.co.kr:8080 [devkms.softcamp.co.kr/10.14.10.171] failed: Connection timed out: connect"
}