ScalarDB Data Loader Error Codes
This page provides a list of error codes in ScalarDB Data Loader.
Error code classes and descriptions​
| Class | Description |
|---|---|
DB-DATA-LOADER-1xxxx | Errors for the user error category |
DB-DATA-LOADER-3xxxx | Errors for the internal error category |
DB-DATA-LOADER-1xxxx status codes​
The following are status codes and messages for the user error category.
DB-DATA-LOADER-10000​
Message
Data chunk queue size must be greater than 0
DB-DATA-LOADER-10001​
Message
The directory '%s' does not have write permissions. Please ensure that the current user has write access to the directory
DB-DATA-LOADER-10002​
Message
Failed to create the directory '%s'. Please check if you have sufficient permissions and if there are any file system restrictions. Details: %s
DB-DATA-LOADER-10003​
Message
Directory path cannot be null or empty
DB-DATA-LOADER-10004​
Message
No file extension was found in the provided file name %s
DB-DATA-LOADER-10005​
Message
Invalid file extension: %s. Allowed extensions are: %s
DB-DATA-LOADER-10006​
Message
Invalid key: Column %s does not exist in the table %s in namespace %s
DB-DATA-LOADER-10007​
Message
Invalid base64 encoding for blob value '%s' for column %s in table %s in namespace %s
DB-DATA-LOADER-10008​
Message
Invalid number '%s' specified for column %s in table %s in namespace %s
DB-DATA-LOADER-10009​
Message
Method null argument not allowed
DB-DATA-LOADER-10010​
Message
The provided clustering key %s was not found
DB-DATA-LOADER-10011​
Message
The column '%s' was not found
DB-DATA-LOADER-10012​
Message
The provided partition key is incomplete. Required key: %s
DB-DATA-LOADER-10013​
Message
The provided clustering-key order does not match the table schema. Required order: %s
DB-DATA-LOADER-10014​
Message
The provided partition-key order does not match the table schema. Required order: %s
DB-DATA-LOADER-10015​
Message
Missing namespace or table: %s, %s
DB-DATA-LOADER-10016​
Message
Failed to retrieve table metadata. Details: %s
DB-DATA-LOADER-10017​
Message
Duplicate data mappings found for table '%s' in the control file
DB-DATA-LOADER-10018​
Message
No mapping found for column '%s' in table '%s' in the control file. Control file validation set at 'FULL'. All columns need to be mapped
DB-DATA-LOADER-10019​
Message
The control file is missing data mappings
DB-DATA-LOADER-10020​
Message
The target column '%s' for source field '%s' could not be found in table '%s'
DB-DATA-LOADER-10021​
Message
The required partition key '%s' is missing in the control file mapping for table '%s'
DB-DATA-LOADER-10022​
Message
The required clustering key '%s' is missing in the control file mapping for table '%s'
DB-DATA-LOADER-10023​
Message
Duplicated data mappings found for column '%s' in table '%s'
DB-DATA-LOADER-10024​
Message
Missing required field or column mapping for clustering key %s
DB-DATA-LOADER-10025​
Message
Missing required field or column mapping for partition key %s
DB-DATA-LOADER-10026​
Message
Missing field or column mapping for %s
DB-DATA-LOADER-10027​
Message
Something went wrong while converting the ScalarDB values to strings. The table metadata and Value datatype probably do not match. Details: %s
DB-DATA-LOADER-10028​
Message
The provided file format is not supported : %s
DB-DATA-LOADER-10029​
Message
Could not find the partition key
DB-DATA-LOADER-10030​
Message
The source record needs to contain all fields if the UPSERT turns into an INSERT
DB-DATA-LOADER-10031​
Message
Record already exists
DB-DATA-LOADER-10032​
Message
Record was not found
DB-DATA-LOADER-10033​
Message
Could not find the clustering key
DB-DATA-LOADER-10034​
Message
No table metadata found
DB-DATA-LOADER-10035​
Message
The data mapping source field '%s' for table '%s' is missing in the JSON data record
DB-DATA-LOADER-10036​
Message
The CSV row: %s does not match header: %s
DB-DATA-LOADER-10037​
Message
Expected JSON file content to be an array
DB-DATA-LOADER-10038​
Message
Missing option: either the '--namespace' and '--table' options or the '--control-file' option must be specified
DB-DATA-LOADER-10039​
Message
The file '%s' specified by the argument '%s' does not exist
DB-DATA-LOADER-10040​
Message
Cannot write to the log directory: %s
DB-DATA-LOADER-10041​
Message
Failed to create the log directory: %s
DB-DATA-LOADER-10042​
Message
Failed to parse the control file: %s
DB-DATA-LOADER-10043​
Message
No permission to create or write files in the directory: %s
DB-DATA-LOADER-10044​
Message
Failed to create the directory: %s
DB-DATA-LOADER-10045​
Message
Path exists but is not a directory: %s
DB-DATA-LOADER-10046​
Message
File path must not be blank
DB-DATA-LOADER-10047​
Message
File not found: %s
DB-DATA-LOADER-10048​
Message
Invalid date time value '%s' specified for column %s in table %s in namespace %s
DB-DATA-LOADER-10049​
Message
Key value cannot be null or empty
DB-DATA-LOADER-10050​
Message
Invalid key-value format: %s
DB-DATA-LOADER-10051​
Message
Value must not be null
DB-DATA-LOADER-10052​
Message
Delimiter must not be null
DB-DATA-LOADER-10053​
Message
Config file path must not be blank
DB-DATA-LOADER-10054​
Message
Data chunk size must be greater than 0
DB-DATA-LOADER-10055​
Message
Transaction size must be greater than 0
DB-DATA-LOADER-10056​
Message
Number of max threads must be greater than 0
DB-DATA-LOADER-3xxxx status codes​
The following are status codes and messages for the internal error category.
DB-DATA-LOADER-30000​
Message
A problem occurred while trying to save the data. Details: %s
DB-DATA-LOADER-30001​
Message
A problem occurred while scanning. Are you sure you are running in the correct transaction mode? Details: %s
DB-DATA-LOADER-30002​
Message
Failed to read CSV file. Details: %s
DB-DATA-LOADER-30003​
Message
Failed to CSV read header line. Details: %s
DB-DATA-LOADER-30004​
Message
Data chunk processing was interrupted. Details: %s
DB-DATA-LOADER-30005​
Message
Failed to read JSON file. Details: %s
DB-DATA-LOADER-30006​
Message
Failed to read JSON Lines file. Details: %s