Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.meteora.ag/llms.txt

Use this file to discover all available pages before exploring further.

This page lists the Anchor custom errors returned by the Alpha Vault alpha-vault program.
Anchor error codes start at 6000. When a transaction log contains custom program error: 0x1771, convert the hex value to decimal to find the matching code. For example, 0x1771 is 6001, which maps to IncorrectTokenMint.

Error Codes

CodeNameMessageCommon cause
6000TimePointNotInFutureTime point is not in futureInitialization or update references a pool join point that has already passed.
6001IncorrectTokenMintToken mint is incorrectVault base or quote mint does not match the connected pool token order.
6002IncorrectPairTypePair is not permissionedLegacy pair validation path failed.
6003PoolHasStartedPool has startedAttempted an action that must happen before launch pool activation.
6004NotPermitThisActionInThisTimePointThis action is not permitted in this time pointAction is outside its deposit, buy, refund, or vesting window.
6005TheSaleIsOngoingThe sale is on going, cannot withdrawLegacy sale-window guard.
6006EscrowIsNotClosableEscrow is not closableEscrow still has deposit, claim, overflow, or remaining quote work outstanding.
6007TimePointOrdersAreIncorrectTime point orders are incorrectActivation, vesting, or deposit points are not ordered correctly.
6008EscrowHasRefundedEscrow has refundedwithdraw_remaining_quote was called more than once for the same escrow.
6009MathOverflowMath operation overflowChecked arithmetic failed.
6010MaxBuyingCapIsZeroMax buying cap is zeroPro Rata max buying cap is zero.
6011MaxAmountIsTooSmallMax amount is too smallLegacy maximum amount guard.
6012PoolTypeIsNotSupportedPool type is not supportedUnsupported pool type, or fill instruction does not match the vault’s pool type.
6013InvalidAdminInvalid adminSigner is not a configured program admin and is not allowed by the instruction.
6014VaultModeIsIncorrectVault mode is incorrectMode-specific instruction was used on the wrong vault mode.
6015MaxDepositingCapIsInValidMax depositing cap is invalidFCFS cap is zero, invalid, or below current total deposits during update.
6016VestingDurationIsInValidVesting duration is invalidVesting duration is zero, reversed, or exceeds the configured maximum.
6017DepositAmountIsZeroDeposit amount is zeroDeposit amount became zero after transfer fee, vault cap, or escrow quota clipping.
6018PoolOwnerIsMismatchedPool owner is mismatchedDynamic AMM pool account is not owned by the expected program.
6019WithdrawAmountIsZeroWithdraw amount is zeroWithdrawal or overflow refund amount resolves to zero.
6020DepositingDurationIsInvalidDepositing duration is invalidFCFS config deposit duration is shorter than the required buffer.
6021DepositingTimePointIsInvalidDepositing time point is invalidDeposit start plus buffer is after the pool last join point.
6022IndividualDepositingCapIsZeroIndividual depositing cap is zeroFCFS individual cap is zero.
6023InvalidFeeReceiverAccountInvalid fee receiver accountEscrow fee or crank fee receiver is missing or not the Alpha Vault treasury.
6024NotPermissionedVaultNot permissioned vaultLegacy permissioned vault guard.
6025NotPermitToDoThisActionNot permit to do this actionInstruction is not allowed for the vault’s whitelist mode.
6026InvalidProofInvalid Merkle proofWallet and max_cap proof does not verify against the Merkle root config.
6027InvalidActivationTypeInvalid activation typeActivation type is not 0 slot or 1 timestamp.
6028ActivationTypeIsMismatchedActivation type is mismatchedConfig activation type does not match the connected pool activation type.
6029InvalidPoolPool is not connected to the alpha vaultPool state does not point to the derived Alpha Vault address.
6030InvalidCreatorInvalid creatorAuthority-created escrow payer is not the vault authority.
6031PermissionedVaultCannotChargeEscrowFeePermissioned vault cannot charge escrow feeMerkle-proof or authority vault was initialized with a nonzero escrow fee.
6032EscrowFeeTooHighEscrow fee too highEscrow fee exceeds 10_000_000 lamports.
6033LockDurationInvalidLock duration is invalidLock duration exceeds the maximum allowed duration.
6034MaxBuyingCapIsTooSmallMax buying cap is too smallLegacy Pro Rata cap guard.
6035MaxDepositingCapIsTooSmallMax depositing cap is too smallAuthority-created escrow cap is zero.
6036InvalidWhitelistWalletModeInvalid whitelist wallet modeWhitelist mode is unsupported or incompatible with the instruction.
6037InvalidCrankFeeWhitelistInvalid crank fee whitelistWhitelist PDA exists but does not belong to the cranker signer.
6038MissingFeeReceiverMissing fee receiverFee receiver account was required but not supplied.
6039DiscriminatorIsMismatchedDiscriminator is mismatchedAccount discriminator does not match the expected layout.