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

<table><thead><tr><th width="89" align="center">Code</th><th width="341.8046875" align="center">Type</th><th width="105" align="center">Status</th><th width="256" align="center">Message</th><th width="553">Solution</th></tr></thead><tbody><tr><td align="center">1000</td><td align="center">NOT_CONNECTED</td><td align="center">Failure</td><td align="center">A connection has not been established.</td><td>The web application must first establish a connection with Adena.</td></tr><tr><td align="center">1001</td><td align="center">UNRESOLVED_TRANSACTION_EXISTS</td><td align="center">Failure</td><td align="center">An unresolved transaction pop-up exists.</td><td>The user must approve or reject the previous transaction prior to initiating a new transaction.</td></tr><tr><td align="center">1002</td><td align="center">INVALID_FORMAT</td><td align="center">Failure</td><td align="center">The transaction is in an invalid format.</td><td>Be sure to match the format and fill it with the parameters Adena supports.</td></tr><tr><td align="center">2000</td><td align="center">WALLET_LOCKED</td><td align="center">Failure</td><td align="center">Adena is locked.</td><td>The user must unlock Adena.</td></tr><tr><td align="center">3001</td><td align="center">ACCOUNT_MISMATCH</td><td align="center">Failure</td><td align="center">The account does not match the caller.</td><td>Be sure to match the <code>caller</code> parameter with the actual account address.</td></tr><tr><td align="center">3002</td><td align="center">NO_ACCOUNT</td><td align="center">Failure</td><td align="center">No account found on Adena.</td><td>The user must create or restore an account on Adena.</td></tr><tr><td align="center">4000</td><td align="center">TRANSACTION_REJECTED</td><td align="center">Failure</td><td align="center">The transaction has been rejected by the user.</td><td>-</td></tr><tr><td align="center">4000</td><td align="center">SIGN_REJECTED</td><td align="center">Failure</td><td align="center">The signature has been rejected by the user.</td><td>-</td></tr><tr><td align="center">4000</td><td align="center">CONNECTION_REJECTED</td><td align="center">Failure</td><td align="center">The connection request has been rejected by the user.</td><td>-</td></tr><tr><td align="center">4000</td><td align="center">SWITCH_NETWORK_REJECTED</td><td align="center">Failure</td><td align="center">The network change has been rejected by the user.</td><td>-</td></tr><tr><td align="center">4000</td><td align="center">ADD_NETWORK_REJECTED</td><td align="center">Failure</td><td align="center">The network addition request has been rejected by the user.</td><td>-</td></tr><tr><td align="center">4001</td><td align="center">TRANSACTION_FAILED</td><td align="center">Failure</td><td align="center">Adena could not execute the transaction.</td><td>Check if all parameters are accurate. In case it's a blockchain network issue, you'll get an error code coming from the blockchain.</td></tr><tr><td align="center">4001</td><td align="center">SIGN_FAILED</td><td align="center">Failure</td><td align="center">Adena could not generate the signature hash.</td><td>Check if all parameters are accurate.</td></tr><tr><td align="center">4001</td><td align="center">ALREADY_CONNECTED</td><td align="center">Failure</td><td align="center">The account is already connected to this website.</td><td>-</td></tr><tr><td align="center">4001</td><td align="center">NETWORK_TIMEOUT</td><td align="center">Failure</td><td align="center">The network response has timed out.</td><td>Check the connection status of the blockchain network.</td></tr><tr><td align="center">4001</td><td align="center">REDUNDANT_CHANGE_REQUEST</td><td align="center">Failure</td><td align="center">Unable to change to the current network settings.</td><td>-</td></tr><tr><td align="center">4001</td><td align="center">NETWORK_ALREADY_EXISTS</td><td align="center">Failure</td><td align="center">The network already exists.</td><td>-</td></tr><tr><td align="center">4001</td><td align="center">UNADDED_NETWORK</td><td align="center">Failure</td><td align="center">The network has not been added on Adena.</td><td>Use the <code>AddNetwork</code> method to add the custom network to Adena first.</td></tr><tr><td align="center">4001</td><td align="center">NOT_INITIALIZED_NETWORK</td><td align="center">Failure</td><td align="center">The network has not been initialized on Wallet.</td><td>-</td></tr><tr><td align="center">4005</td><td align="center">UNSUPPORTED_TYPE</td><td align="center">Failure</td><td align="center">Adena does not support the requested type.</td><td>Only use types supported by Adena.</td></tr><tr><td align="center">9000</td><td align="center">UNEXPECTED_ERROR</td><td align="center">Failure</td><td align="center">Adena has encountered an unexpected error.</td><td>Ask for support on <a href="https://discord.gg/6eTSyZ3569">Discord</a>.</td></tr><tr><td align="center">0</td><td align="center">CONNECTION_SUCCESS</td><td align="center">Success</td><td align="center">The connection has been successfully established.</td><td>-</td></tr><tr><td align="center">0</td><td align="center">GET_ACCOUNT</td><td align="center">Success</td><td align="center">Account information has been successfully returned.</td><td>-</td></tr><tr><td align="center">0</td><td align="center">GET_NETWORK</td><td align="center">Success</td><td align="center">Network information has been successfully returned.</td><td>-</td></tr><tr><td align="center">0</td><td align="center">SIGN_TX</td><td align="center">Success</td><td align="center">Signature hash has been successfully generated.</td><td>-</td></tr><tr><td align="center">0</td><td align="center">ADD_NETWORK_SUCCESS</td><td align="center">Success</td><td align="center">The network has been successfully added.</td><td>-</td></tr><tr><td align="center">0</td><td align="center">SWITCH_NETWORK_SUCCESS</td><td align="center">Success</td><td align="center">The network has been successfully changed.</td><td>-</td></tr><tr><td align="center">0</td><td align="center">TRANSACTION_BROADCAST_SUCCESS</td><td align="center">Success</td><td align="center">Transaction has been successfully broadcasted.</td><td>This only indicates that the transaction has been successfully included in the mempool; it does not guarantee the transaction’s success.</td></tr></tbody></table>

#### Sample Error

```javascript
//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"
}
```

{% hint style="info" %}
**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](https://discord.gg/3YbdqVP8Tb) and ask for help in the <mark style="color:blue;">#adena</mark> channel.
{% endhint %}
