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.

Dynamic Fee Sharing custom errors are emitted by the Anchor FeeVaultError enum.
Anchor custom error codes start at 6000. When a transaction log contains a custom program error such as 0x1776, convert the hex value to decimal to find the matching code. 0x1776 is 6006, which maps to ExceededUser.

Error Codes

CodeNameMessageCommon cause
6000MathOverflowMath operation overflowChecked arithmetic failed during funding, fee-per-share calculation, claim calculation, or Token 2022 transfer-fee calculation.
6001InvalidMintMint is not supportedToken 2022 mint has an unsupported extension, or mint account validation failed.
6002InvalidFeeVaultParametersFee vault parameters are invalidA configured user share is zero.
6003AmountIsZeroAmount is zeroDirect funding resolved to zero after capping by the funder’s token account balance.
6004InvalidUserIndexInvalid user indexclaim_fee was called with an index outside the fixed user array.
6005InvalidUserAddressInvalid user addressInitialization used a default public key, or claim_fee signer did not match users[index].address.
6006ExceededUserExceeded number of users allowedInitialization used fewer than 2 users or more than 5 users.
6007InvalidFeeVaultInvalid fee vaultfund_by_claiming_fee was called with a non-PDA fee vault.
6008InvalidSignerInvalid signerSource-program funding signer is not one of the fee vault shareholders.
6009InvalidActionInvalid actionSource program, instruction discriminator, or expected token vault remaining account does not match the whitelist.