Spring
WhitepaperGitHubLaunch app

Docs / Build

Error reference

Errors the program returns, what they mean and what to do.

ErrorMeaningWhat to do
UnauthorizedThe signer may not call this instructionSign with the pool owner or the provider authority
InvalidFeeConfigFee above 1% or share above 100% at initializationUse fee_bps <= 100
InvalidMinDepositMinimum deposit of zeroSet a positive minimum
DepositTooSmallDeposit below the pool minimumDeposit more
NonCanonicalFieldA 32-byte value is not below the BN254 modulus, or is zero where a leaf is expectedReduce the value mod p; never send zero leaves
TreeFullThe tree has reached depth 32None in practice: that is over four billion deposits
PoseidonFailedThe Poseidon syscall returned an errorReport it with the transaction signature
InvalidProofThe Groth16 proof does not verify against the public signalsRebuild the proof; check the context fields (processor, recipient, fee recipient, relayer fee) match the accounts
UnknownStateRootThe state root is older than the last 64Fetch the latest root and prove again
UnknownAspRootThe set root is not the provider's current one, and the previous one is past its 150-slot graceFetch the provider's root and prove again
ProviderRetiredThe provider was retiredChoose another provider, or ragequit
InvalidTreeDepthA depth above 32Use the depth the tree reports
ZeroWithdrawalWithdrawing zeroWithdraw a positive amount
FeeExceedsWithdrawalRelayer fee above the withdrawn amountLower the fee
BelowRentExemptA payout would leave a new account below its rent-exempt minimumSend at least 0.00089088 SOL to a fresh address
InsufficientPoolBalanceThe bucket cannot cover the payoutCheck the amount against your note
MathOverflowAn arithmetic bound was hitReport it with the transaction signature

A second withdrawal of the same note fails earlier, when the runtime refuses to create a nullifier account that already exists.