Wallet API Errors
When working with Wallet APIs, you may encounter various errors. Here are some common errors and how to troubleshoot them.
Replacement underpriced
Replacement underpriced errors occur when you attempt to send call from the same sender before a pending call has been confirmed on-chain. Please follow these recommendations.
Execution reverted
This error normally happens if the calls you are attempting to make are reverting on-chain. Double check that you are calling the correct method on the correct contract address, you are using the correct chain, and that the method arguments are correct and properly ABI-encoded.
ERC20: transfer amount exceeds balance
If paying for gas with ERC20 tokens, ensure the sender has the required balance.
AA23 reverted
AA23 errors happen if sender signature validation reverted or ran out of gas (OOG). Please follow these recommendations.
AA25 invalid account nonce
The nonce used is invalid. This usually happens if trying to reuse an old nonce. Please follow these recommendations.
Policy ID(s) not found
Please ensure you’re sending requests with the API key associated with the policy’s app, the policy is active, and the network is allowed. See gas sponsorship docs for more info.
Invalid account signature
The call was rejected because it contains an invalid signature from the sender. Be sure that you are correctly signing the signature request(s). Refer to the Wallet API quickstart for more info.
Precheck failed: sender balance
The sender’s balance is too low to cover gas fees. This normally happens when you mistakenly forget to include your Gas Sponsorship Policy ID. See gas sponsorship docs for more info.