Errors
A list of all errors specific to Akashic that may be thrown by the SDK
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.
OTK_ONBOARDING_FAILED
Failed to setup an otk on AkahicChain for testing.
Try again. If it persists, contact CS.
INVALID_PRIVATE_KEY_FORMAT
The private-key or recovery-phrase you used to instantiate the SDK has an error.
Double-check your variables and try again.
WALLET_CREATION_FAILURE
Failed to create an L1-wallet on AkashicChain.
Try again. If it persists, contact CS.
UNHEALTHY_WALLET
A wallet was created on AkashicChain, but it could not be verified as safe.
Try again. If it persists, contact CS.
ACCESS_DENIED
Thrown if trying to access the OTK in a production environment.
This is not allowed. Do not do this.
L2ADDRESS_NOT_FOUND
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
NOT_SIGNED_UP
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.
FUNDS_EXCEEDED
You are trying to withdraw more funds than you have available.
Check your balances and inputs and try again.
ASSIGNMENT_FAILED
Failed to create an L1-wallet on AkashicChain.
Try again. If it persists, contact CS.
INVALID_PARAMETER
(JAVA and C# only). Invalid argument given to a function.
Double-check your inputs for syntax errors.
UNKNOWN_ERROR
Something else went wrong.
Check the details of the error message for more information. Retry after a short delay. If error persists, contact CS.
Last updated
Was this helpful?