ScalarDL Ledger Error Codes
This page provides a list of error codes in ScalarDL Ledger.
Error code classes and descriptions​
Class | Description |
---|---|
DL-LEDGER-3xxxx | Errors for the validation error category |
DL-LEDGER-4xxxx | Errors for the user error category |
DL-LEDGER-5xxxx | Errors for the internal error category |
DL-LEDGER-3xxxx
status codes​
The following are status codes and messages for the validation error category.
DL-LEDGER-300001
​
Message
Validation failed for the hash.
DL-LEDGER-301001
​
Message
Validation failed for the previous hash.
DL-LEDGER-302001
​
Message
Validation failed for the contract.
DL-LEDGER-303001
​
Message
Validation failed for the output. Recomputed: %s; Stored: %s
DL-LEDGER-304001
​
Message
Validation failed for nonce. %s contains the nonce '%s' more than once.
DL-LEDGER-305001
​
Message
The specified asset and the asset metadata are inconsistent.
DL-LEDGER-305002
​
Message
The asset specified by input dependencies is not found.
DL-LEDGER-4xxxx
status codes​
The following are status codes and messages for the user error category.
DL-LEDGER-400001
​
Message
The request signature can't be validated.
DL-LEDGER-400002
​
Message
The request signature from Auditor can't be validated.
DL-LEDGER-407001
​
Message
The specified contract class is not allowed to be executed.
DL-LEDGER-407002
​
Message
A configuration mismatch is detected. Check the Auditor setting in the client or Ledger.
DL-LEDGER-407003
​
Message
The Auditor signature must be included in the request when Auditor is enabled.
DL-LEDGER-407004
​
Message
%s must be enabled to make auditing work.
DL-LEDGER-409001
​
Message
The specified asset is not found.
DL-LEDGER-410001
​
Message
The specified function is not found.
DL-LEDGER-411001
​
Message
Loading the function failed. Details: %s
DL-LEDGER-412001
​
Message
The function is not allowed to access the specified namespace.
DL-LEDGER-412002
​
Message
The database operation in the function failed. Details: %s
DL-LEDGER-414001
​
Message
%s must be set if HMAC authentication is used.
DL-LEDGER-414002
​
Message
%s must be set to true if Auditor is enabled.
DL-LEDGER-414003
​
Message
Authentication between Ledger and Auditor is not correctly configured. Set %s or set a private key with %s or %s.
DL-LEDGER-414004
​
Message
Authentication between Ledger and Auditor is not correctly configured. Set %s if you use HMAC authentication with Auditor enabled.
DL-LEDGER-414005
​
Message
Either %s or %s must be set if proof is enabled.
DL-LEDGER-414006
​
Message
%s must be set to true when using the JDBC transaction manager in the Auditor mode.
DL-LEDGER-414007
​
Message
%s must be disabled when using the Consensus Commit transaction manager for performance reasons.
DL-LEDGER-414008
​
Message
%s must be disabled because group commit is not supported.
DL-LEDGER-5xxxx
status codes​
The following are status codes and messages for the internal error category.
DL-LEDGER-500001
​
Message
Binding the function failed. Details: %s
DL-LEDGER-500002
​
Message
Unbinding the function failed. Details: %s
DL-LEDGER-500003
​
Message
Getting the function failed. Details: %s
DL-LEDGER-500004
​
Message
Starting a transaction failed. Details: %s
DL-LEDGER-500005
​
Message
Getting the transaction state failed. Details: %s
DL-LEDGER-500006
​
Message
Putting or committing asset records failed. Details: %s
DL-LEDGER-500007
​
Message
Aborting the transaction failed. Details: %s
DL-LEDGER-500008
​
Message
Retrieving the asset records failed. Details: %s
DL-LEDGER-500009
​
Message
Retrieving the asset metadata failed. Details: %s
DL-LEDGER-500010
​
Message
Putting the asset metadata failed. Details: %s
DL-LEDGER-500011
​
Message
The database operation in the function failed due to a database error. Details: %s
DL-LEDGER-501001
​
Message
The asset status is unknown. Details: %s
DL-LEDGER-502001
​
Message
The function type or instance is not supported.
DL-LEDGER-504001
​
Message
The transaction state has already been %s.
DL-LEDGER-504002
​
Message
Retrieving the asset records failed due to a conflict. Details: %s
DL-LEDGER-504003
​
Message
Putting the asset records failed due to a conflict. Details: %s
DL-LEDGER-504004
​
Message
Committing the asset records failed due to a conflict. Details: %s
DL-LEDGER-504005
​
Message
Retrieving the asset metadata failed due to a conflict. Details: %s
DL-LEDGER-504006
​
Message
Putting the asset metadata failed due to a conflict. Details: %s
DL-LEDGER-504007
​
Message
The database operation in the function failed due to a conflict. Details: %s