Errors
You may encounter an error while interacting with Adena. Below is the list of error codes and their descriptions. We try to display errors and their details as concisely as possible.
Code | Type | Status | Message | Solution |
---|---|---|---|---|
1000 | NOT_CONNECTED | Failure | A connection has not been established. | The web application must first establish a connection with Adena. |
1001 | UNRESOLVED_TRANSACTION_EXISTS | Failure | An unresolved transaction pop-up exists. | The user must approve or reject the previous transaction prior to initiating a new transaction. |
2000 | WALLET_LOCKED | Failure | Adena is locked. | The user must unlock Adena. |
3000 | UNUSED_ACCOUNT | Failure | The account has never been used. | The account must first receive or send tokens. |
3001 | ACCOUNT_MISMATCH | Failure | The account does not match the caller. | Be sure to match the caller parameter with the actual account address. |
3002 | NO_ACCOUNT | Failure | No account found on Adena. | The user must create or restore an account on Adena. |
4000 | TRANSACTION_REJECTED | Failure | The transaction has been rejected by the user. | - |
4000 | CONNECTION_REJECTED | Failure | The connection request has been rejected by the user. | - |
4001 | TRANSACTION_FAILED | Failure | The transaction has failed. | Confirm that all parameters are accurate. |
4001 | ALREADY_CONNECTED | Failure | The account is already connected to this website. | - |
4005 | UNSUPPORTED_FUNCTION | Failure | Adena does not support the requested type. | Only use types supported by Adena. |
9000 | UNKNOWN_ERROR | Failure | Adena has encountered an unexpected error. | |
0 | CONNECTION_SUCCESS | Success | The connection has been successfully established. | - |
0 | GET_ACCOUNT_SUCCESS | Success | Account information has been successfully returned. | - |
0 | TRANSACTION_SUCCESS | Success | Transaction has been successfully executed. | - |
0 | SIGN_SUCCESS | Success | Signed data has been successfully returned. | |
//The error thrown when a dapp requests to sign an unsupported transaction type.
{
"status": "failure",
"data": {},
"code": 4005,
"message": "Adena does not support the requested transaction type",
"type": "UNSUPPORTED_TYPE"
}
Need help?
Although most errors are easily comprehensible and resolvable, you may rarely encounter an unexpected issue. If you need support, join the official Gnoland Discord server and ask for help in the #adena channel.
Last modified 3mo ago