AkashicPay
English
English
  • Introduction
    • Overview
    • Fee Structure
    • Transaction Times
    • Terminology
  • Dashboard
    • Dashboard
    • Account
    • Transfer
    • Settings
    • Developers
  • SDK
    • Getting Started
    • Payment Flow
    • SDKs & Toolkits
    • Functions
      • getDepositAddress
      • getDepositUrl
      • Identifier & ReferenceId
      • Requested amount & currency
      • payout
      • Payout callback
      • Deposit callback
      • getTransfers
      • getBalance
      • getTransactionDetails
      • Errors
    • Supported Currencies
  • Secure Callback Endpoint
  • Guides
    • Quick Guide
    • Recommended integration flow
Powered by GitBook
On this page

Was this helpful?

  1. SDK
  2. Functions

Errors

A list of all errors specific to Akashic that may be thrown by the SDK

PreviousgetTransactionDetailsNextSupported Currencies

Last updated 10 days ago

Was this helpful?

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 .

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 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 -transaction

Double-check your input and try again

You are trying to instantiate the SDK without having gone through correct setup on AkashicPay.com.

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.

Failed to create an L1-wallet on AkashicChain.

Try again. If it persists, contact CS.

(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.

OTK_ONBOARDING_FAILED
INVALID_PRIVATE_KEY_FORMAT
WALLET_CREATION_FAILURE
UNHEALTHY_WALLET
ACCESS_DENIED
L2ADDRESS_NOT_FOUND
NOT_SIGNED_UP
FUNDS_EXCEEDED
ASSIGNMENT_FAILED
INVALID_PARAMETER
UNKNOWN_ERROR
payout page
Complete the setup
AkahicChain
Layer 2