Solana error codes › Tensor
39 error codes defined by Tensor (program ID TSWAPaqyCSx2KABk68Shruf4rp7CxcNi8hAsbdwmHbN). In logs they appear as custom program error: 0x… after Program TSWAPaqyCSx2KABk68Shruf4rp7CxcNi8hAsbdwmHbN failed.
Custom errors start at 6000 (0x1770). If a code is below 6000 and not listed here, see the Anchor framework errors.
| Hex | Code | Error |
|---|---|---|
| 0x1770 | 6000 | InvalidProof invalid merkle proof, token not whitelisted |
| 0x1771 | 6001 | WhitelistNotVerified whitelist not verified -- currently only verified pools supported |
| 0x1772 | 6002 | BadWhitelist unexpected whitelist address |
| 0x1773 | 6003 | WrongPoolType operation not permitted on this pool type |
| 0x1774 | 6004 | BadFeeAccount fee account doesn't match that stored on pool |
| 0x1775 | 6005 | BadEscrowAccount escrow account doesn't match that stored on pool |
| 0x1776 | 6006 | MissingFees when setting up a Trade pool, must provide fee bps & fee vault |
| 0x1777 | 6007 | FeesTooHigh fees entered above allowed threshold |
| 0x1778 | 6008 | DeltaTooLarge delta too large |
| 0x1779 | 6009 | ArithmeticError arithmetic error |
| 0x177a | 6010 | WrongPool this nft doesnt belong to this pool |
| 0x177b | 6011 | RoyaltiesEnabled royalties are enabled always |
| 0x177c | 6012 | PriceMismatch specified price not within current price |
| 0x177d | 6013 | ExistingNfts cannot close pool with nfts in escrow -- withdraw all before closing |
| 0x177e | 6014 | WrongMint wrong mint passed for provided accounts |
| 0x177f | 6015 | InsufficientTswapAccBalance insufficient Tswap account balance |
| 0x1780 | 6016 | BadOwner bad owner |
| 0x1781 | 6017 | FeesNotAllowed fees not allowed for non-trade pools |
| 0x1782 | 6018 | BadMetadata metadata account does not match |
| 0x1783 | 6019 | CreatorMismatch provided creator address does not match metadata creator |
| 0x1784 | 6020 | WrongPoolVersion wrong pool version provided |
| 0x1785 | 6021 | PoolsAreTheSame new pool should not match old pool |
| 0x1786 | 6022 | WrongAuthority wrong nft authority account provided |
| 0x1787 | 6023 | FrozenAmountMismatch amount frozen doesnt match current price |
| 0x1788 | 6024 | BadMintProof mint proof account does not match |
| 0x1789 | 6025 | BadCosigner bad cosigner passed - either wrong key or no signature The name points to a permission check: the wrong signer or owner account was passed. |
| 0x178a | 6026 | PoolFrozen pool is frozen and cannot execute normal operations |
| 0x178b | 6027 | BadMargin bad margin account passed |
| 0x178c | 6028 | PoolNotMarginated expected a marginated pool to be passed in |
| 0x178d | 6029 | PoolMarginated expected a non-marginated pool to be passed in |
| 0x178e | 6030 | WrongOrderType wrong order type |
| 0x178f | 6031 | WrongFrozenStatus wrong frozen status |
| 0x1790 | 6032 | MarginInUse margin account has pools open and is in use |
| 0x1791 | 6033 | MaxTakerSellCountExceeded max taker sell count exceeded, pool cannot buy anymore NFTs |
| 0x1792 | 6034 | MaxTakerSellCountTooSmall max taker sell count is too small |
| 0x1793 | 6035 | BadRuleSet rule set for programmable nft does not match |
| 0x1794 | 6036 | PoolFeesCompounded this pool compounds fees and they cannot be withdrawn separately |
| 0x1795 | 6037 | BadRoyaltiesPct royalties percentage passed in must be between 0 and 100 |
| 0x1796 | 6038 | StartingPriceTooSmall starting price can't be smaller than 1 lamport |
Free, no sign-up, nothing to connect. Works offline from a bundled list; we do not look anything up on-chain.
Swapping a token you do not know? A free Rugsight check shows mint and freeze authority, Token-2022 extensions, holder concentration and liquidity before you trade.
Source: solana-idls@1.2.1. Data: program error lists from published IDLs (solana-idls 1.2.1, MIT) and the System, SPL Token, Token-2022 and Associated Token Account source code, snapshot 2026-11-16. Programs can be upgraded and add or change errors; the failing program's current IDL is the final word.