| 6000 | Unauthorized | Not authorized to perform this action |
| 6001 | ExtDataHashMismatch | External data hash does not match the one in the proof |
| 6002 | UnknownRoot | Root is not known in the tree |
| 6003 | InvalidPublicAmountData | Public amount is invalid |
| 6004 | InsufficientFundsForWithdrawal | Insufficient funds for withdrawal |
| 6005 | InsufficientFundsForFee | Insufficient funds for fee |
| 6006 | InvalidProof | Proof is invalid |
| 6007 | InvalidFee | Invalid fee: fee must be less than MAX_ALLOWED_VAL (2^248) |
| 6008 | InvalidExtAmount | Invalid ext amount: absolute ext_amount must be less than MAX_ALLOWED_VAL (2^248) |
| 6009 | PublicAmountCalculationError | Public amount calculation resulted in an overflow/underflow |
| 6010 | ArithmeticOverflow | Arithmetic overflow/underflow occurred |
| 6011 | DepositLimitExceeded | Deposit limit exceeded |
| 6012 | InvalidFeeRate | Invalid fee rate: must be between 0 and 10000 basis points |
| 6013 | InvalidFeeRecipient | Fee recipient does not match global configuration |
| 6014 | InvalidFeeAmount | Fee amount is below minimum required (must be at least (1 - fee_error_margin) * expected_fee) |
| 6015 | RecipientMismatch | Recipient account does not match the ExtData recipient |
| 6016 | MerkleTreeFull | Merkle tree is full: cannot add more leaves |
| 6017 | InvalidTokenAccount | Invalid token account: account is not owned by the token program |
| 6018 | InvalidMintAddress | Invalid mint address: mint address is not allowed |
| 6019 | InvalidTokenAccountMintAddress | Invalid token account mint address |