Skip to main content

ErrorCodes

Notice

This document is a machine-translated draft and is currently undergoing review. Some content may be inaccurate or differ from the original Korean version. For the most precise information, refer to the Korean documentation.

Errorcodes class

com.kollus.sdk.media.util.ErrorCodes

A class that defines and manages error codes for all exceptional situations that occur during Kollus SDK execution, including playback, download, security, and network errors.

Public methods

  • String getErrorString(int errorCode)

Static public methods

  • static synchronized ErrorCodes getInstance(Context context)

Protected properties

  • final Context mContext
  • final Map<Integer, CodeBook> mCodeBooks

Method details

String com.kollus.sdk.media.util.ErrorCodes.getErrorString(int errorCode)

Returns a detailed description message for a specific error code.

  • Parameters
    • errorCode: Error code
  • Returns: Error message

static synchronized ErrorCodes com.kollus.sdk.media.util.ErrorCodes.getInstance(Context context)

Returns the singleton instance of ErrorCodes. An application context is required to load error message resources.

  • Parameters
    • context: Application context
  • Returns: ErrorCodes instance

Property details

PropertyError CodeDescription
ERROR_OK0Successful processing
ERROR_UNDEFINED_CODE-1000Unknown system error
MEDIA_ERROR_IO-1004File or network input/output (I/O) error
MEDIA_ERROR_MALFORMED-1007Media stream format mismatch
ERROR_UNSUPPORTED-1010Unsupported content format
ERROR_UNSUPPORTED_DEVICE-1015Unsupported device
ERROR_CODEC_DECODE-1103Decoding failure
ERROR_CHECK_SETTING_NOT_SW_CODEC-1104Software codec setting not followed
ERROR_SERVER_BLACK_OUT-1105Network connection error during live stream
ERROR_ALREADY_DOWNLOADED-1631Content already downloaded
ERROR_TMCM_INIT-2001Security module (Teruten) initialization error
ERROR_TMCM_ROOTING-2002OS privilege tampering (rooting) detected
ERROR_TMCM_EMULATOR-2003Virtual environment execution detected in security module
ERROR_EMURATOR-2004Emulator environment execution detected
ERROR_EMURATOR_VIA_DEVICE-2005Bypassed emulator execution via device detected
ERROR_UNKNOWN_MULTI_DRM-2100Unknown error occurred during Multi DRM processing
ERROR_INCORRECT_PACKAGE_NAME-2103Invalid application package name provided during KollusStorage initialization
ERROR_EXPIRED_AUTH_DATE-2104SDK usage period expired during KollusStorage initialization
ERROR_INCORRECT_AUTH_DATE-2105SDK usage period input format mismatch during KollusStorage initialization
ERROR_INCORRECT_AUTH_KEY-2106Invalid SDK authentication key used during KollusStorage initialization
ERROR_NOT_ENOUGH_AUTH_INFO-2107Required authentication information missing during KollusStorage initialization
ERROR_LIVE_NOT_BROADCASTING-3012Live stream is not broadcasting
ERROR_DUPLICATION_BLOCK_OR_EXPIRED_TIME_MEDIA_KEY-3013Concurrent playback blocked or media key time expired
ERROR_INVALID_MEDIA_CONTENT_KEY-4001Invalid media content key
ERROR_INVALID_SECURITY_KEY-4002Invalid security key
ERROR_INVALID_CHANNEL_KEY-4003Invalid channel identification key
ERROR_INVALID_USER_KEY-4004Invalid user identification key
ERROR_INVALID_TRANSCODING_FILE_PATH-4005Transcoding file path specification error
ERROR_INVALID_ALIAS_KEY-4006Invalid alias key
ERROR_INVALID_JWT-4007Invalid JWT token format
ERROR_INVALID_MEDIA_TOKEN-4008Invalid media authentication token
ERROR_NO_TRANSCODING_FILE-4011Requested transcoding file not found
ERROR_NO_MEDIA_CONTENT-4012Requested media content data not found
ERROR_NO_CONTENT_OWNER-4013Content owner information cannot be verified
ERROR_NO_CONTENT_DISTRIBUTOR-4014Content distributor information cannot be verified
ERROR_NO_CHANNEL-4015Requested channel information not found
ERROR_NO_PAYMENT-4016Payment information cannot be verified
ERROR_NO_DEFAULT_MAIN_SITE-4019Default main site configuration not found
ERROR_NO_MAIN_MEDIA_CONTENT-4020Main media content not found
ERROR_UNAVAILABLE_TRANSCODING_FILE-4021Transcoding file in unavailable state
ERROR_UNAVAILABLE_MEDIA_CONTENT-4022Media content in unavailable state
ERROR_UNAVAILABLE_CONTENT_OWNER-4023Content owner account is deactivated
ERROR_UNAVAILABLE_CONTENT_DISTRIBUTOR-4024Content distributor account is deactivated
ERROR_UNAVAILABLE_CHANNEL-4025Channel in unavailable state
ERROR_UNAVAILABLE_CHANNEL_DISTRIBUTION-4026Channel distribution policy violation or suspension
ERROR_NOT_ALLOWED_REFERER-4031Access from unauthorized domain (Referer)
ERROR_NOT_ALLOWED_ACCESS_FOR_BLOCKING_CAPTURE-4032Access denied due to capture prevention policy
ERROR_NOT_PUBLIC_SHARED_CHANNEL-4081Attempted access to a private shared channel
ERROR_MISMATCH_USER_KEY-4082User identification key mismatch
ERROR_ACCESS_WITHOUT_MEDIA_CONTENT_KEY-4083Attempted access without media content key
ERROR_NOT_SUPPORT_DEVICE-4084Unsupported device
ERROR_TOKEN_EXPIRED-4085Authentication token validity period expired
ERROR_NETWORK_CON_TIMEOUT-4105Network Timeout
ERROR_MULTI_DRM_EXPIRED-7000Multi DRM license validity period expired
ERROR_INVALID_CRYPTO_KEY-7001Invalid encryption key used
ERROR_WIDEVINE_NOT_SUPPORT-7109Device does not support Widevine DRM
ERROR_STORAGE_MANAGER_BASE-8000Base value for all error codes generated by the storage manager
ERROR_CURLE_COULDNT_RESOLVE_HOST-8006Host name resolution failure (DNS error)
ERROR_CURLE_COULDNT_CONNECT-8007Failed to establish physical connection to server
ERROR_CURLE_PARTIAL_FILE-8018Partial data loss during transfer (size mismatch)
ERROR_CURLE_OPERATION_TIMEDOUT-8028Network Timeout
ERROR_CURLE_RECV_ERROR-8056Error occurred during data reception
ERROR_BAD_REQUEST-8400Malformed request syntax (HTTP 400)
ERROR_UNAUTHORIZED_1-8401Unauthorized (HTTP 401-1)
ERROR_UNAUTHORIZED_2-8402Unauthorized (HTTP 401-2)
ERROR_FORBIDDEN-8403Access forbidden (HTTP 403)
ERROR_NOT_EXIST_FILE-8404Requested file resource not found (HTTP 404)
ERROR_METHOD_NOT_ALLOWED-8405HTTP method not allowed (HTTP 405)
ERROR_REQUEST_URL-8461Request URL parsing error
ERROR_GET_USER_IP-8462Failed to retrieve valid user IP information
ERROR_ACCESS_DENIED_FOLDER-8463Access denied to folder requiring authentication
ERROR_DUPLICATION_BLOCK_PROCESS-8464Error occurred during duplicate blocking process
ERROR_VERIFY_MEDIA_KEY-8465Media key verification error
ERROR_REQEST_URL_BLOCK-8466Request URL blocked by security policy
ERROR_MEDIA_KEY_TIME_EXPIRE-8467Media key validity time expired
ERROR_MEDIA_DOMAIN_VALIDATE-8468Media domain validation error
ERROR_HEAVY_REQUEST-8469Request rejected due to excessive requests (Heavy Request)
ERROR_PLYMENT-8470Payment authentication error (Payment Error)
ERROR_GEO_RESTRICTION-8471Access blocked from country where service is not permitted
ERROR_PREVIEW_ERROR-8472Preview processing error
ERROR_USER_KEY-8473Invalid user key information
ERROR_CONTENT_NOT_PUBLIC_CHANNEL-8474Content channel is in private state
ERROR_USED_MEDIA_KEY-8475Attempted reuse of an already used media key
ERROR_MAX_REQUEST_SIZE-8476Maximum request length exceeded for authentication verification
ERROR_DIFFERENT_ES_KEY-8477Mismatch between request key and system stored key
ERROR_ACCESS_DENIED_MEMCACHE_SERVER-8478Unable to set key due to local memcache server connection error
ERROR_DUPLICATION_BLOCK_MEDIA_KEY-8479Media key rejected by concurrent blocking policy
ERROR_NOT_NORMAL_REQUEST_VIDEO_GATEWAY-8480Abnormal request not routed through Video Gateway
ERROR_INTERNAL_SERVER-8500Internal server logic processing error (HTTP 500)
ERROR_NOT_IMPLEMENTED-8501Unimplemented service request (HTTP 501)
ERROR_BAD_GATEWAY-8502Gateway and server overload state (HTTP 502)
ERROR_SERVICE_UNAVAILABLE-8503Service temporarily unavailable (HTTP 503)
ERROR_GATEWAY_TIMEOUT-8504Server response timeout (HTTP 504)
ERROR_HTTP_VERSION_NOT_SUPPORTED-8505Unsupported HTTP protocol version
ERROR_CREATE_DIRECTORY-8600Directory creation failure
ERROR_CREATE_FILE-8601File creation failure
ERROR_SAVE_DATA-8602Data save failure
ERROR_OPEN_DB-8603DB file open failure
ERROR_CREATE_TABLE-8604DB table creation failure
ERROR_SELECT_TABLE-8605DB table query execution failure
ERROR_DELETE_RECORD-8606DB record deletion failure
ERROR_INSERT_RECORD-8607DB record insertion failure
ERROR_OPEN_FILE-8608File open failure
ERROR_OUT_OF_MEMORY-8609System memory allocation failure
ERROR_READ_FILE-8610File read operation failure
ERROR_WRITE_FILE-8611File write operation failure
ERROR_PARAM_VALUE-8613Input parameter format mismatch
ERROR_NOT_LOAD-8614Content load state verification failure
ERROR_CANCEL_DOWNLOAD-8615Content download cancelled
ERROR_GET_CONTENTS_LENGTH-8617Failed to retrieve content length information
ERROR_GET_ENCODE_LEVEL-8618Failed to retrieve content encoding level information
ERROR_GET_MEDIA_URL-8619Failed to retrieve streaming media URL
ERROR_NOT_FOUND_DATA-8620Requested internal data block not found
ERROR_NOT_FOUND_ID-8621Matching content ID not found
ERROR_DECODE_HEADER-8622Failed to decrypt encrypted response header
ERROR_STORAGE_FULL-8623Insufficient device storage space
ERROR_UPDATE_RECORD-8624DB record update failure
ERROR_NOT_FOUND_SNAPSHOT_FILENAME-8626Snapshot filename not found
ERROR_NOT_FOUND_THUMBNAIL_FILENAME-8627Thumbnail filename not found
ERROR_NOT_FOUND_RECORD-8628Target record not found in DB
ERROR_NOT_DOWNLOAD_COMPLETE_ALL-8629Accessed content while download is incomplete
ERROR_NOT_DOWNLOAD_TYPE-8630Requested content type is not downloadable
ERROR_ALREADY_DOWNLOADING-8631Download is already active
ERROR_DECRYPT_CONTENT_INFO_LINK-8632Failed to decrypt content info link
ERROR_PARSE_CONTENT_INFO_LINK-8633Failed to parse content info link JSON
ERROR_DECRYPT_COMPANY_AUTH_INFO-8634Failed to decrypt company authentication information
ERROR_PARSE_COMPANY_AUTH_INFO-8635Failed to parse company authentication information JSON
ERROR_NOT_VAILD_COMPANY_AUTH_INFO-8636Company authentication information format validation failure
ERROR_NO_USE_CONTENT_URL-8637Requested content URL is unavailable
ERROR_NOT_EXIST_DOWNLOADED_CONTENTS-8638No downloaded content found locally
ERROR_EXPIRATION_DATE-8643Content playback validity period expired
ERROR_EXPIRATION_COUNT-8644Maximum allowed content playback count exceeded
ERROR_REQUEST_CONTENT_URL-8645Error requesting content URL for resume download
ERROR_NOT_VAILD_CONTENTS_INFO-8646Content metadata information corrupted
ERROR_CREATE_NO_MEDIA_FILE-8647Failed to create gallery exposure prevention file (.nomedia)
ERROR_DECRYPT-8649Failed to decrypt encrypted string
ERROR_NOT_ALLOW_DOWNLOAD-8650No download permission for the specified path
ERROR_EMPTY_COMPANY_AUTH_INFO-8651Failed to receive AUTH information from authentication server
ERROR_EMPTY_CONTENT_INFO-8652Failed to receive content data
ERROR_NOT_FOUND_DOMAIN-8653Request domain does not match edge server domain
ERROR_NOT_RECEIVE_DOMAIN-8654Failed to receive domain list from server
ERROR_ABNORMAL_DRM_INFO-8655Abnormal response received for DRM information request
ERROR_ABNORMAL_DRM_COMPLETE-8656Failed to receive DRM processing completion response
ERROR_ABNORMAL_DRM_PLAY-8657DRM playback approval processing failure
ERROR_FORCE_EXPIRED-8658Force expiration by server policy after DRM download callback (kind 3)
ERROR_NOT_RECEIVE_ENC_DATA-8659Failed to receive encrypted data (XHTTP_ENC_DATA)
ERROR_NOT_FOUND_MOBILE_LOGO_FILENAME-8660Logo filename not found in logo file path
ERROR_CANNOT_CALL_API-8661API call unavailable due to internal object termination
ERROR_NOT_FOUND_THUMBNAIL_URL-8662Thumbnail URL not found in media information
ERROR_ALTER_TABLE-8663DB table structure modification failure
ERROR_DIFFERENT_TIME-8664Time synchronization error between device and server
ERROR_EMPTY_POSTER_UPLOAD_FILE_INFO-8665Poster upload response data not found
ERROR_PARSE_POSTER_UPLOAD_FILE_INFO-8666Failed to parse poster upload response data
ERROR_NOT_FOUND_POSTER_URL-8667Poster URL not found in media information
ERROR_GET_MEDIA_ID-8668Failed to retrieve media ID from server
ERROR_NOT_FOUND_SUBTITLE_FILENAME-8669Subtitle filename not found in subtitle URL
ERROR_EMPTY_PLAY_CALLBACK_INFO-8670Playback callback response data not found
ERROR_DECRYPT_PLAY_CALLBACK_INFO-8671Failed to decrypt playback callback data
ERROR_PARSE_PLAY_CALLBACK_INFO-8672Failed to parse playback callback data JSON
ERROR_ABNORMAL_PLAY_CALLBACK_INFO-8673Playback callback result error received (kind 1)
ERROR_PLAY_CALLBACK_EXPIRED-8674Forced playback expiration by playback callback (kind 3) response
ERROR_ABNORMAL_PLAY_CALLBACK_INFO_PLAY-8675Playback callback (kind 3) result error received
ERROR_ABNORMAL_UPLOAD_POSTER_INFO-8676Server-side poster upload processing failure
ERROR_GET_CONTENT_TYPE-8677Failed to retrieve Content-Type from edge server
ERROR_GET_CONTENT_LAST_MODIFIED-8678Failed to retrieve last modified date from edge server
ERROR_ENCRYPT_KEY-8679Encryption key generation failure
ERROR_FORCE_DELETE-8680Force deletion of local content requested by DRM download callback server policy
ERROR_DIFFERENT_EXPIRE_RESET-8681Failed to update expiration information due to DRM download callback session mismatch
ERROR_NOT_FOUND_DRM_KIND-8682DRM type identification information not found
ERROR_EXPIRATION_PLAY_TIME-8683Allowed cumulative playback time exceeded
ERROR_PLAY_CALLBACK_EXPIRATION_PLAY_TIME-8686Playback time expired by playback callback policy
ERROR_CHECK_EXPIRATION_DATE-8687Downloaded content validity period expired at time of playback
ERROR_NOT_FOUND_COMMON_INFO-8800Common metadata not found in playlist
ERROR_NOT_FOUND_ITEM_IN_PLAYLIST-8801Target content not found in playlist
ERROR_EMPTY_PLAYLIST_INFO-8802Failed to receive playlist data
ERROR_INTRO_CANNOT_DOWNLOAD-8803Download attempt for intro video rejected
INFO_NETWORK_TIMEOUT-8899Internal information for retry on network Timeout
ERROR_VIDEO_GATEWAY_ABNORMAL_RESPONSE-8900Abnormal status response received from Video Gateway