Error codes / Tensor
Tensor error codes
Every custom error code published by Tensor, with what it means and what to do about it.
TSWAPaqyCSx2KABk68Shruf4rp7CxcNi8hAsbdwmHbN
- 6000 · 0x1770InvalidProof
invalid merkle proof, token not whitelisted
- 6001 · 0x1771WhitelistNotVerified
whitelist not verified -- currently only verified pools supported
- 6002 · 0x1772BadWhitelist
unexpected whitelist address
- 6003 · 0x1773WrongPoolType
operation not permitted on this pool type
- 6004 · 0x1774BadFeeAccount
fee account doesn't match that stored on pool
- 6005 · 0x1775BadEscrowAccount
escrow account doesn't match that stored on pool
- 6006 · 0x1776MissingFees
when setting up a Trade pool, must provide fee bps & fee vault
- 6007 · 0x1777FeesTooHigh
fees entered above allowed threshold
- 6008 · 0x1778DeltaTooLarge
delta too large
- 6009 · 0x1779ArithmeticError
arithmetic error
- 6010 · 0x177aWrongPool
this nft doesnt belong to this pool
- 6011 · 0x177bRoyaltiesEnabled
royalties are enabled always
- 6012 · 0x177cPriceMismatch
specified price not within current price
- 6013 · 0x177dExistingNfts
cannot close pool with nfts in escrow -- withdraw all before closing
- 6014 · 0x177eWrongMint
wrong mint passed for provided accounts
- 6015 · 0x177fInsufficientTswapAccBalance
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6016 · 0x1780BadOwner
bad owner
- 6017 · 0x1781FeesNotAllowed
fees not allowed for non-trade pools
- 6018 · 0x1782BadMetadata
metadata account does not match
- 6019 · 0x1783CreatorMismatch
provided creator address does not match metadata creator
- 6020 · 0x1784WrongPoolVersion
wrong pool version provided
- 6021 · 0x1785PoolsAreTheSame
new pool should not match old pool
- 6022 · 0x1786WrongAuthority
wrong nft authority account provided
- 6023 · 0x1787FrozenAmountMismatch
amount frozen doesnt match current price
- 6024 · 0x1788BadMintProof
mint proof account does not match
- 6025 · 0x1789BadCosigner
bad cosigner passed - either wrong key or no signature
- 6026 · 0x178aPoolFrozen
pool is frozen and cannot execute normal operations
- 6027 · 0x178bBadMargin
bad margin account passed
- 6028 · 0x178cPoolNotMarginated
expected a marginated pool to be passed in
- 6029 · 0x178dPoolMarginated
expected a non-marginated pool to be passed in
- 6030 · 0x178eWrongOrderType
wrong order type
- 6031 · 0x178fWrongFrozenStatus
wrong frozen status
- 6032 · 0x1790MarginInUse
margin account has pools open and is in use
- 6033 · 0x1791MaxTakerSellCountExceeded
max taker sell count exceeded, pool cannot buy anymore NFTs
- 6034 · 0x1792MaxTakerSellCountTooSmall
max taker sell count is too small
- 6035 · 0x1793BadRuleSet
rule set for programmable nft does not match
- 6036 · 0x1794PoolFeesCompounded
this pool compounds fees and they cannot be withdrawn separately
- 6037 · 0x1795BadRoyaltiesPct
royalties percentage passed in must be between 0 and 100
- 6038 · 0x1796StartingPriceTooSmall
starting price can't be smaller than 1 lamport