Errors
A list of all errors specific to Akashic that may be thrown by the SDK
Last updated
A list of all errors specific to Akashic that may be thrown by the SDK
Last updated
If something goes wrong, the SDKs will throw an error/exception (extending the default object of the language) with an error-code indicating what has gone wrong. Note that the payout-function will return the error instead of throwing in most instances. See details on the payout page.
Below are a list of all Akashic-specific errors that may be thrown or returned, and what to do if facing them.
Error Code | Explanation | What to do |
---|---|---|
Failed to setup an otk on AkahicChain for testing.
Try again. If it persists, contact CS.
The private-key or recovery-phrase you used to instantiate the SDK has an error.
Double-check your variables and try again.
Failed to create an L1-wallet on AkashicChain.
Try again. If it persists, contact CS.
A wallet was created on AkashicChain, but it could not be verified as safe.
Try again. If it persists, contact CS.
Thrown if trying to access the OTK in a production environment.
This is not allowed. Do not do this.
If there is a formatting-error or the address does not exists when trying to do a Layer 2-transaction
Double-check your input and try again
You are trying to instantiate the SDK without having gone through correct setup on AkashicPay.com.
Complete the setup on AkashicPay.com and try again.
You are trying to withdraw more funds than you have available.
Check your balances and inputs and try again.
(JAVA and C# only). Invalid argument given to a function.
Double-check your inputs for syntax errors.
Something else went wrong.
Check the details of the error message for more information. Retry after a short delay. If error persists, contact CS.