Skip to main content
Version: 3.10

ScalarDL Client Error Codes

This page provides a list of error codes in ScalarDL clients.

Error code classes and descriptions​

ClassDescription
DL-CLIENT-3xxxxErrors for the validation error category
DL-CLIENT-4xxxxErrors for the user error category
DL-CLIENT-5xxxxErrors for the internal error category

DL-CLIENT-3xxxx status codes​

The following are status codes and messages for the validation error category.

DL-CLIENT-305001​

Message

The results from Ledger and Auditor don't match.

Solution

Data or program tampering, or a software bug, may have occurred. Contact your system administrator to check for any signs of malicious activity.

DL-CLIENT-4xxxx status codes​

The following are status codes and messages for the user error category.

DL-CLIENT-414001​

Message

The specified option --asset-id is malformed. The format should be "[assetId]" or "[assetId],[startAge],[endAge]".

Solution

Provide the asset ID in the correct format: "[assetId]" or "[assetId],[startAge],[endAge]".

DL-CLIENT-414002​

Message

The specified option --asset-id contains an invalid integer.

Solution

Provide valid integers for startAge and endAge in the asset ID.

DL-CLIENT-414003​

Message

The authentication method for the client mode must be either digital-signature or hmac.

Solution

Set the authentication method to either 'digital-signature' or 'hmac' in your configuration.

DL-CLIENT-414004​

Message

The authentication method for the intermediary mode must be pass-through.

Solution

Set the authentication method to 'pass-through' in your configuration.

DL-CLIENT-414005​

Message

Both the certificate and the private key must be set to use digital signature.

Solution

Provide both the certificate and the private key in your configuration.

DL-CLIENT-414006​

Message

The secret key must be set to use HMAC authentication.

Solution

Provide the secret key in your configuration.

DL-CLIENT-414007​

Message

%s and %s are missing, but either is required.

Solution

Provide either the entity ID or the certificate holder ID in your configuration.

DL-CLIENT-414008​

Message

Digital signature authentication is not configured.

Solution

Configure digital signature authentication with the required certificate and private key.

DL-CLIENT-414009​

Message

HMAC authentication is not configured.

Solution

Configure HMAC authentication with the required secret key.

DL-CLIENT-414010​

Message

validateLedger with Auditor is not supported in the intermediary mode. Please execute the ValidateLedger contract to validate assets.

Solution

Execute the ValidateLedger contract to validate assets in intermediary mode.

DL-CLIENT-414011​

Message

The specified client mode is incorrect.

Solution

Provide a valid client mode in your configuration.

DL-CLIENT-414012​

Message

The contract ID cannot be null.

Solution

Provide a non-null contract ID.

DL-CLIENT-414013​

Message

The contract name cannot be null.

Solution

Provide a non-null contract name.

DL-CLIENT-414014​

Message

The contractBytes cannot be null.

Solution

Provide non-null contract bytes.

DL-CLIENT-414015​

Message

The contractArgument cannot be null.

Solution

Provide a non-null contract argument.

DL-CLIENT-414016​

Message

The contractPath cannot be null.

Solution

Provide a non-null contract path.

DL-CLIENT-414017​

Message

The function ID cannot be null.

Solution

Provide a non-null function ID.

DL-CLIENT-414018​

Message

The function name cannot be null.

Solution

Provide a non-null function name.

DL-CLIENT-414019​

Message

The functionBytes cannot be null.

Solution

Provide non-null function bytes.

DL-CLIENT-414020​

Message

The functionPath cannot be null.

Solution

Provide a non-null function path.

DL-CLIENT-414021​

Message

The asset ID cannot be null.

Solution

Provide a non-null asset ID.

DL-CLIENT-414022​

Message

The specified asset ages are invalid.

Solution

Ensure that startAge is non-negative (>= 0) and endAge is greater than or equal to startAge.

DL-CLIENT-414023​

Message

The specified asset type is incorrect.

Solution

Provide a valid asset type.

DL-CLIENT-414024​

Message

The specified keys are incorrect for the asset type.

Solution

Provide valid keys for the asset type.

DL-CLIENT-5xxxx status codes​

The following are status codes and messages for the internal error category.

DL-CLIENT-502001​

Message

Reading the file failed. File: %s; Details: %s

Solution

Verify that the file exists and has the correct permissions.

DL-CLIENT-502002​

Message

Configuring SSL failed. Details: %s

Solution

Check the error details in the logs and verify that the SSL configuration is correct.

DL-CLIENT-502003​

Message

Shutting down the channel failed. Details: %s

Solution

Check the error details in the logs and verify that the channel is in a valid state.

DL-CLIENT-502004​

Message

Processing JSON failed. Details: %s

Solution

Check the error details in the logs and verify that the JSON data is well-formed.