Error codes / Drift V2
Drift V2 error codes
Every custom error code published by Drift V2, with what it means and what to do about it.
dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH
- 6000 · 0x1770InvalidSpotMarketAuthority
Invalid Spot Market Authority
- 6001 · 0x1771InvalidInsuranceFundAuthority
Clearing house not insurance fund authority
- 6002 · 0x1772InsufficientDeposit
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6003 · 0x1773InsufficientCollateral
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6004 · 0x1774SufficientCollateral
Sufficient collateral
- 6005 · 0x1775MaxNumberOfPositions
Max number of positions taken
- 6006 · 0x1776AdminControlsPricesDisabled
Admin Controls Prices Disabled
- 6007 · 0x1777MarketDelisted
Market Delisted
- 6008 · 0x1778MarketIndexAlreadyInitialized
Market Index Already Initialized
- 6009 · 0x1779UserAccountAndUserPositionsAccountMismatch
User Account And User Positions Account Mismatch
- 6010 · 0x177aUserHasNoPositionInMarket
User Has No Position In Market
- 6011 · 0x177bInvalidInitialPeg
Invalid Initial Peg
- 6012 · 0x177cInvalidRepegRedundant
AMM repeg already configured with amt given
- 6013 · 0x177dInvalidRepegDirection
AMM repeg incorrect repeg direction
- 6014 · 0x177eInvalidRepegProfitability
AMM repeg out of bounds pnl
- 6015 · 0x177fSlippageOutsideLimit
The swap would have paid out less than the minimum this transaction allowed. The price moved between the moment the quote was taken and the moment the transaction executed, by more than the slippage tolerance set in the swap.
- 6016 · 0x1780OrderSizeTooSmall
Order Size Too Small
- 6017 · 0x1781InvalidUpdateK
Price change too large when updating K
- 6018 · 0x1782AdminWithdrawTooLarge
Admin tried to withdraw amount larger than fees collected
- 6019 · 0x1783MathError
Math Error
- 6020 · 0x1784BnConversionError
Conversion to u128/u64 failed with an overflow or underflow
- 6021 · 0x1785ClockUnavailable
Clock unavailable
- 6022 · 0x1786UnableToLoadOracle
Unable To Load Oracles
- 6023 · 0x1787PriceBandsBreached
Price Bands Breached
- 6024 · 0x1788ExchangePaused
Exchange is paused
- 6025 · 0x1789InvalidWhitelistToken
Invalid whitelist token
- 6026 · 0x178aWhitelistTokenNotFound
Whitelist token not found
- 6027 · 0x178bInvalidDiscountToken
Invalid discount token
- 6028 · 0x178cDiscountTokenNotFound
Discount token not found
- 6029 · 0x178dReferrerNotFound
Referrer not found
- 6030 · 0x178eReferrerStatsNotFound
ReferrerNotFound
- 6031 · 0x178fReferrerMustBeWritable
The program raised this named error and published no further explanation.
- 6032 · 0x1790ReferrerStatsMustBeWritable
ReferrerMustBeWritable
- 6033 · 0x1791ReferrerAndReferrerStatsAuthorityUnequal
The program raised this named error and published no further explanation.
- 6034 · 0x1792InvalidReferrer
The program raised this named error and published no further explanation.
- 6035 · 0x1793InvalidOracle
The program raised this named error and published no further explanation.
- 6036 · 0x1794OracleNotFound
The program raised this named error and published no further explanation.
- 6037 · 0x1795LiquidationsBlockedByOracle
Liquidations Blocked By Oracle
- 6038 · 0x1796MaxDeposit
Can not deposit more than max deposit
- 6039 · 0x1797CantDeleteUserWithCollateral
Can not delete user that still has collateral
- 6040 · 0x1798InvalidFundingProfitability
AMM funding out of bounds pnl
- 6041 · 0x1799CastingFailure
Casting Failure
- 6042 · 0x179aInvalidOrder
The program raised this named error and published no further explanation.
- 6043 · 0x179bInvalidOrderMaxTs
The program raised this named error and published no further explanation.
- 6044 · 0x179cInvalidOrderMarketType
The program raised this named error and published no further explanation.
- 6045 · 0x179dInvalidOrderForInitialMarginReq
The program raised this named error and published no further explanation.
- 6046 · 0x179eInvalidOrderNotRiskReducing
The program raised this named error and published no further explanation.
- 6047 · 0x179fInvalidOrderSizeTooSmall
The program raised this named error and published no further explanation.
- 6048 · 0x17a0InvalidOrderNotStepSizeMultiple
The program raised this named error and published no further explanation.
- 6049 · 0x17a1InvalidOrderBaseQuoteAsset
The program raised this named error and published no further explanation.
- 6050 · 0x17a2InvalidOrderIOC
The program raised this named error and published no further explanation.
- 6051 · 0x17a3InvalidOrderPostOnly
The program raised this named error and published no further explanation.
- 6052 · 0x17a4InvalidOrderIOCPostOnly
The program raised this named error and published no further explanation.
- 6053 · 0x17a5InvalidOrderTrigger
The program raised this named error and published no further explanation.
- 6054 · 0x17a6InvalidOrderAuction
The program raised this named error and published no further explanation.
- 6055 · 0x17a7InvalidOrderOracleOffset
The program raised this named error and published no further explanation.
- 6056 · 0x17a8InvalidOrderMinOrderSize
The program raised this named error and published no further explanation.
- 6057 · 0x17a9PlacePostOnlyLimitFailure
Failed to Place Post-Only Limit Order
- 6058 · 0x17aaUserHasNoOrder
User has no order
- 6059 · 0x17abOrderAmountTooSmall
Order Amount Too Small
- 6060 · 0x17acMaxNumberOfOrders
Max number of orders taken
- 6061 · 0x17adOrderDoesNotExist
Order does not exist
- 6062 · 0x17aeOrderNotOpen
Order not open
- 6063 · 0x17afFillOrderDidNotUpdateState
The program raised this named error and published no further explanation.
- 6064 · 0x17b0ReduceOnlyOrderIncreasedRisk
Reduce only order increased risk
- 6065 · 0x17b1UnableToLoadAccountLoader
Unable to load AccountLoader
- 6066 · 0x17b2TradeSizeTooLarge
Trade Size Too Large
- 6067 · 0x17b3UserCantReferThemselves
User cant refer themselves
- 6068 · 0x17b4DidNotReceiveExpectedReferrer
Did not receive expected referrer
- 6069 · 0x17b5CouldNotDeserializeReferrer
Could not deserialize referrer
- 6070 · 0x17b6CouldNotDeserializeReferrerStats
Could not deserialize referrer stats
- 6071 · 0x17b7UserOrderIdAlreadyInUse
User Order Id Already In Use
- 6072 · 0x17b8NoPositionsLiquidatable
No positions liquidatable
- 6073 · 0x17b9InvalidMarginRatio
Invalid Margin Ratio
- 6074 · 0x17baCantCancelPostOnlyOrder
Cant Cancel Post Only Order
- 6075 · 0x17bbInvalidOracleOffset
The program raised this named error and published no further explanation.
- 6076 · 0x17bcCantExpireOrders
The program raised this named error and published no further explanation.
- 6077 · 0x17bdCouldNotLoadMarketData
The program raised this named error and published no further explanation.
- 6078 · 0x17bePerpMarketNotFound
The program raised this named error and published no further explanation.
- 6079 · 0x17bfInvalidMarketAccount
The program raised this named error and published no further explanation.
- 6080 · 0x17c0UnableToLoadPerpMarketAccount
UnableToLoadMarketAccount
- 6081 · 0x17c1MarketWrongMutability
The program raised this named error and published no further explanation.
- 6082 · 0x17c2UnableToCastUnixTime
The program raised this named error and published no further explanation.
- 6083 · 0x17c3CouldNotFindSpotPosition
The program raised this named error and published no further explanation.
- 6084 · 0x17c4NoSpotPositionAvailable
The program raised this named error and published no further explanation.
- 6085 · 0x17c5InvalidSpotMarketInitialization
The program raised this named error and published no further explanation.
- 6086 · 0x17c6CouldNotLoadSpotMarketData
The program raised this named error and published no further explanation.
- 6087 · 0x17c7SpotMarketNotFound
The program raised this named error and published no further explanation.
- 6088 · 0x17c8InvalidSpotMarketAccount
The program raised this named error and published no further explanation.
- 6089 · 0x17c9UnableToLoadSpotMarketAccount
The program raised this named error and published no further explanation.
- 6090 · 0x17caSpotMarketWrongMutability
The program raised this named error and published no further explanation.
- 6091 · 0x17cbSpotMarketInterestNotUpToDate
SpotInterestNotUpToDate
- 6092 · 0x17ccSpotMarketInsufficientDeposits
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6093 · 0x17cdUserMustSettleTheirOwnPositiveUnsettledPNL
The program raised this named error and published no further explanation.
- 6094 · 0x17ceCantUpdateSpotBalanceType
The program raised this named error and published no further explanation.
- 6095 · 0x17cfInsufficientCollateralForSettlingPNL
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6096 · 0x17d0AMMNotUpdatedInSameSlot
The program raised this named error and published no further explanation.
- 6097 · 0x17d1AuctionNotComplete
The program raised this named error and published no further explanation.
- 6098 · 0x17d2MakerNotFound
The program raised this named error and published no further explanation.
- 6099 · 0x17d3MakerStatsNotFound
MakerNotFound
- 6100 · 0x17d4MakerMustBeWritable
The program raised this named error and published no further explanation.
- 6101 · 0x17d5MakerStatsMustBeWritable
MakerMustBeWritable
- 6102 · 0x17d6MakerOrderNotFound
The program raised this named error and published no further explanation.
- 6103 · 0x17d7CouldNotDeserializeMaker
The program raised this named error and published no further explanation.
- 6104 · 0x17d8CouldNotDeserializeMakerStats
CouldNotDeserializeMaker
- 6105 · 0x17d9AuctionPriceDoesNotSatisfyMaker
The program raised this named error and published no further explanation.
- 6106 · 0x17daMakerCantFulfillOwnOrder
The program raised this named error and published no further explanation.
- 6107 · 0x17dbMakerOrderMustBePostOnly
The program raised this named error and published no further explanation.
- 6108 · 0x17dcCantMatchTwoPostOnlys
The program raised this named error and published no further explanation.
- 6109 · 0x17ddOrderBreachesOraclePriceLimits
The program raised this named error and published no further explanation.
- 6110 · 0x17deOrderMustBeTriggeredFirst
The program raised this named error and published no further explanation.
- 6111 · 0x17dfOrderNotTriggerable
The program raised this named error and published no further explanation.
- 6112 · 0x17e0OrderDidNotSatisfyTriggerCondition
The program raised this named error and published no further explanation.
- 6113 · 0x17e1PositionAlreadyBeingLiquidated
The program raised this named error and published no further explanation.
- 6114 · 0x17e2PositionDoesntHaveOpenPositionOrOrders
The program raised this named error and published no further explanation.
- 6115 · 0x17e3AllOrdersAreAlreadyLiquidations
The program raised this named error and published no further explanation.
- 6116 · 0x17e4CantCancelLiquidationOrder
The program raised this named error and published no further explanation.
- 6117 · 0x17e5UserIsBeingLiquidated
The program raised this named error and published no further explanation.
- 6118 · 0x17e6LiquidationsOngoing
The program raised this named error and published no further explanation.
- 6119 · 0x17e7WrongSpotBalanceType
The program raised this named error and published no further explanation.
- 6120 · 0x17e8UserCantLiquidateThemself
The program raised this named error and published no further explanation.
- 6121 · 0x17e9InvalidPerpPositionToLiquidate
The program raised this named error and published no further explanation.
- 6122 · 0x17eaInvalidBaseAssetAmountForLiquidatePerp
The program raised this named error and published no further explanation.
- 6123 · 0x17ebInvalidPositionLastFundingRate
The program raised this named error and published no further explanation.
- 6124 · 0x17ecInvalidPositionDelta
The program raised this named error and published no further explanation.
- 6125 · 0x17edUserBankrupt
The program raised this named error and published no further explanation.
- 6126 · 0x17eeUserNotBankrupt
The program raised this named error and published no further explanation.
- 6127 · 0x17efUserHasInvalidBorrow
The program raised this named error and published no further explanation.
- 6128 · 0x17f0DailyWithdrawLimit
The program raised this named error and published no further explanation.
- 6129 · 0x17f1DefaultError
The program raised this named error and published no further explanation.
- 6130 · 0x17f2InsufficientLPTokens
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6131 · 0x17f3CantLPWithPerpPosition
Cant LP with a market position
- 6132 · 0x17f4UnableToBurnLPTokens
Unable to burn LP tokens
- 6133 · 0x17f5TryingToRemoveLiquidityTooFast
Trying to remove liqudity too fast after adding it
- 6134 · 0x17f6InvalidSpotMarketVault
Invalid Spot Market Vault
- 6135 · 0x17f7InvalidSpotMarketState
Invalid Spot Market State
- 6136 · 0x17f8InvalidSerumProgram
The program raised this named error and published no further explanation.
- 6137 · 0x17f9InvalidSerumMarket
The program raised this named error and published no further explanation.
- 6138 · 0x17faInvalidSerumBids
The program raised this named error and published no further explanation.
- 6139 · 0x17fbInvalidSerumAsks
The program raised this named error and published no further explanation.
- 6140 · 0x17fcInvalidSerumOpenOrders
The program raised this named error and published no further explanation.
- 6141 · 0x17fdFailedSerumCPI
The program raised this named error and published no further explanation.
- 6142 · 0x17feFailedToFillOnExternalMarket
The program raised this named error and published no further explanation.
- 6143 · 0x17ffInvalidFulfillmentConfig
The program raised this named error and published no further explanation.
- 6144 · 0x1800InvalidFeeStructure
The program raised this named error and published no further explanation.
- 6145 · 0x1801InsufficientIFShares
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6146 · 0x1802MarketActionPaused
the Market has paused this action
- 6147 · 0x1803MarketPlaceOrderPaused
the Market status doesnt allow placing orders
- 6148 · 0x1804MarketFillOrderPaused
the Market status doesnt allow filling orders
- 6149 · 0x1805MarketWithdrawPaused
the Market status doesnt allow withdraws
- 6150 · 0x1806ProtectedAssetTierViolation
Action violates the Protected Asset Tier rules
- 6151 · 0x1807IsolatedAssetTierViolation
Action violates the Isolated Asset Tier rules
- 6152 · 0x1808UserCantBeDeleted
User Cant Be Deleted
- 6153 · 0x1809ReduceOnlyWithdrawIncreasedRisk
Reduce Only Withdraw Increased Risk
- 6154 · 0x180aMaxOpenInterest
Max Open Interest
- 6155 · 0x180bCantResolvePerpBankruptcy
Cant Resolve Perp Bankruptcy
- 6156 · 0x180cLiquidationDoesntSatisfyLimitPrice
Liquidation Doesnt Satisfy Limit Price
- 6157 · 0x180dMarginTradingDisabled
Margin Trading Disabled
- 6158 · 0x180eInvalidMarketStatusToSettlePnl
Invalid Market Status to Settle Perp Pnl
- 6159 · 0x180fPerpMarketNotInSettlement
The program raised this named error and published no further explanation.
- 6160 · 0x1810PerpMarketNotInReduceOnly
The program raised this named error and published no further explanation.
- 6161 · 0x1811PerpMarketSettlementBufferNotReached
The program raised this named error and published no further explanation.
- 6162 · 0x1812PerpMarketSettlementUserHasOpenOrders
The program raised this named error and published no further explanation.
- 6163 · 0x1813PerpMarketSettlementUserHasActiveLP
The program raised this named error and published no further explanation.
- 6164 · 0x1814UnableToSettleExpiredUserPosition
The data this instruction relied on (a quote, price or order) was already out of date when it executed.
- 6165 · 0x1815UnequalMarketIndexForSpotTransfer
The program raised this named error and published no further explanation.
- 6166 · 0x1816InvalidPerpPositionDetected
The program raised this named error and published no further explanation.
- 6167 · 0x1817InvalidSpotPositionDetected
The program raised this named error and published no further explanation.
- 6168 · 0x1818InvalidAmmDetected
The program raised this named error and published no further explanation.
- 6169 · 0x1819InvalidAmmForFillDetected
The program raised this named error and published no further explanation.
- 6170 · 0x181aInvalidAmmLimitPriceOverride
The program raised this named error and published no further explanation.
- 6171 · 0x181bInvalidOrderFillPrice
The program raised this named error and published no further explanation.
- 6172 · 0x181cSpotMarketBalanceInvariantViolated
The program raised this named error and published no further explanation.
- 6173 · 0x181dSpotMarketVaultInvariantViolated
The program raised this named error and published no further explanation.
- 6174 · 0x181eInvalidPDA
The program raised this named error and published no further explanation.
- 6175 · 0x181fInvalidPDASigner
The program raised this named error and published no further explanation.
- 6176 · 0x1820RevenueSettingsCannotSettleToIF
The program raised this named error and published no further explanation.
- 6177 · 0x1821NoRevenueToSettleToIF
The program raised this named error and published no further explanation.
- 6178 · 0x1822NoAmmPerpPnlDeficit
The program raised this named error and published no further explanation.
- 6179 · 0x1823SufficientPerpPnlPool
The program raised this named error and published no further explanation.
- 6180 · 0x1824InsufficientPerpPnlPool
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6181 · 0x1825PerpPnlDeficitBelowThreshold
The program raised this named error and published no further explanation.
- 6182 · 0x1826MaxRevenueWithdrawPerPeriodReached
The program raised this named error and published no further explanation.
- 6183 · 0x1827MaxIFWithdrawReached
InvalidSpotPositionDetected
- 6184 · 0x1828NoIFWithdrawAvailable
The program raised this named error and published no further explanation.
- 6185 · 0x1829InvalidIFUnstake
The program raised this named error and published no further explanation.
- 6186 · 0x182aInvalidIFUnstakeSize
The program raised this named error and published no further explanation.
- 6187 · 0x182bInvalidIFUnstakeCancel
The program raised this named error and published no further explanation.
- 6188 · 0x182cInvalidIFForNewStakes
The program raised this named error and published no further explanation.
- 6189 · 0x182dInvalidIFRebase
The program raised this named error and published no further explanation.
- 6190 · 0x182eInvalidInsuranceUnstakeSize
The program raised this named error and published no further explanation.
- 6191 · 0x182fInvalidOrderLimitPrice
The program raised this named error and published no further explanation.
- 6192 · 0x1830InvalidIFDetected
The program raised this named error and published no further explanation.
- 6193 · 0x1831InvalidAmmMaxSpreadDetected
The program raised this named error and published no further explanation.
- 6194 · 0x1832InvalidConcentrationCoef
The program raised this named error and published no further explanation.
- 6195 · 0x1833InvalidSrmVault
The program raised this named error and published no further explanation.
- 6196 · 0x1834InvalidVaultOwner
The program raised this named error and published no further explanation.
- 6197 · 0x1835InvalidMarketStatusForFills
The program raised this named error and published no further explanation.
- 6198 · 0x1836IFWithdrawRequestInProgress
The program raised this named error and published no further explanation.
- 6199 · 0x1837NoIFWithdrawRequestInProgress
The program raised this named error and published no further explanation.
- 6200 · 0x1838IFWithdrawRequestTooSmall
The program raised this named error and published no further explanation.
- 6201 · 0x1839IncorrectSpotMarketAccountPassed
The program raised this named error and published no further explanation.
- 6202 · 0x183aBlockchainClockInconsistency
The program raised this named error and published no further explanation.
- 6203 · 0x183bInvalidIFSharesDetected
The program raised this named error and published no further explanation.
- 6204 · 0x183cNewLPSizeTooSmall
The program raised this named error and published no further explanation.
- 6205 · 0x183dMarketStatusInvalidForNewLP
The program raised this named error and published no further explanation.
- 6206 · 0x183eInvalidMarkTwapUpdateDetected
The program raised this named error and published no further explanation.
- 6207 · 0x183fMarketSettlementAttemptOnActiveMarket
The program raised this named error and published no further explanation.
- 6208 · 0x1840MarketSettlementRequiresSettledLP
The program raised this named error and published no further explanation.
- 6209 · 0x1841MarketSettlementAttemptTooEarly
The program raised this named error and published no further explanation.
- 6210 · 0x1842MarketSettlementTargetPriceInvalid
The program raised this named error and published no further explanation.
- 6211 · 0x1843UnsupportedSpotMarket
The program raised this named error and published no further explanation.
- 6212 · 0x1844SpotOrdersDisabled
The program raised this named error and published no further explanation.
- 6213 · 0x1845MarketBeingInitialized
Market Being Initialized
- 6214 · 0x1846InvalidUserSubAccountId
Invalid Sub Account Id
- 6215 · 0x1847InvalidTriggerOrderCondition
Invalid Trigger Order Condition
- 6216 · 0x1848InvalidSpotPosition
Invalid Spot Position
- 6217 · 0x1849CantTransferBetweenSameUserAccount
Cant transfer between same user account
- 6218 · 0x184aInvalidPerpPosition
Invalid Perp Position
- 6219 · 0x184bUnableToGetLimitPrice
Unable To Get Limit Price
- 6220 · 0x184cInvalidLiquidation
Invalid Liquidation
- 6221 · 0x184dSpotFulfillmentConfigDisabled
Spot Fulfillment Config Disabled
- 6222 · 0x184eInvalidMaker
Invalid Maker
- 6223 · 0x184fFailedUnwrap
Failed Unwrap
- 6224 · 0x1850MaxNumberOfUsers
Max Number Of Users
- 6225 · 0x1851InvalidOracleForSettlePnl
The program raised this named error and published no further explanation.
- 6226 · 0x1852MarginOrdersOpen
The program raised this named error and published no further explanation.
- 6227 · 0x1853TierViolationLiquidatingPerpPnl
The program raised this named error and published no further explanation.
- 6228 · 0x1854CouldNotLoadUserData
The program raised this named error and published no further explanation.
- 6229 · 0x1855UserWrongMutability
The program raised this named error and published no further explanation.
- 6230 · 0x1856InvalidUserAccount
The program raised this named error and published no further explanation.
- 6231 · 0x1857CouldNotLoadUserStatsData
CouldNotLoadUserData
- 6232 · 0x1858UserStatsWrongMutability
UserWrongMutability
- 6233 · 0x1859InvalidUserStatsAccount
InvalidUserAccount
- 6234 · 0x185aUserNotFound
The program raised this named error and published no further explanation.
- 6235 · 0x185bUnableToLoadUserAccount
The program raised this named error and published no further explanation.
- 6236 · 0x185cUserStatsNotFound
The program raised this named error and published no further explanation.
- 6237 · 0x185dUnableToLoadUserStatsAccount
The program raised this named error and published no further explanation.
- 6238 · 0x185eUserNotInactive
User Not Inactive
- 6239 · 0x185fRevertFill
The program raised this named error and published no further explanation.
- 6240 · 0x1860InvalidMarketAccountforDeletion
Invalid MarketAccount for Deletion
- 6241 · 0x1861InvalidSpotFulfillmentParams
Invalid Spot Fulfillment Params
- 6242 · 0x1862FailedToGetMint
Failed to Get Mint
- 6243 · 0x1863FailedPhoenixCPI
The program raised this named error and published no further explanation.
- 6244 · 0x1864FailedToDeserializePhoenixMarket
The program raised this named error and published no further explanation.
- 6245 · 0x1865InvalidPricePrecision
The program raised this named error and published no further explanation.
- 6246 · 0x1866InvalidPhoenixProgram
The program raised this named error and published no further explanation.
- 6247 · 0x1867InvalidPhoenixMarket
The program raised this named error and published no further explanation.
- 6248 · 0x1868InvalidSwap
The program raised this named error and published no further explanation.
- 6249 · 0x1869SwapLimitPriceBreached
The program raised this named error and published no further explanation.
- 6250 · 0x186aSpotMarketReduceOnly
The program raised this named error and published no further explanation.
- 6251 · 0x186bFundingWasNotUpdated
The program raised this named error and published no further explanation.
- 6252 · 0x186cImpossibleFill
The program raised this named error and published no further explanation.
- 6253 · 0x186dCantUpdatePerpBidAskTwap
The program raised this named error and published no further explanation.
- 6254 · 0x186eUserReduceOnly
The program raised this named error and published no further explanation.
- 6255 · 0x186fInvalidMarginCalculation
The program raised this named error and published no further explanation.
- 6256 · 0x1870CantPayUserInitFee
The program raised this named error and published no further explanation.
- 6257 · 0x1871CantReclaimRent
The program raised this named error and published no further explanation.
- 6258 · 0x1872InsuranceFundOperationPaused
The program raised this named error and published no further explanation.
- 6259 · 0x1873NoUnsettledPnl
The program raised this named error and published no further explanation.
- 6260 · 0x1874PnlPoolCantSettleUser
The program raised this named error and published no further explanation.
- 6261 · 0x1875OracleNonPositive
OracleInvalid
- 6262 · 0x1876OracleTooVolatile
The program raised this named error and published no further explanation.
- 6263 · 0x1877OracleTooUncertain
The program raised this named error and published no further explanation.
- 6264 · 0x1878OracleStaleForMargin
The data this instruction relied on (a quote, price or order) was already out of date when it executed.
- 6265 · 0x1879OracleInsufficientDataPoints
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6266 · 0x187aOracleStaleForAMM
The data this instruction relied on (a quote, price or order) was already out of date when it executed.
- 6267 · 0x187bUnableToParsePullOracleMessage
Unable to parse pull oracle message
- 6268 · 0x187cMaxBorrows
Can not borow more than max borrows
- 6269 · 0x187dOracleUpdatesNotMonotonic
Updates must be monotonically increasing
- 6270 · 0x187eOraclePriceFeedMessageMismatch
Trying to update price feed with the wrong feed id
- 6271 · 0x187fOracleUnsupportedMessageType
The message in the update must be a PriceFeedMessage
- 6272 · 0x1880OracleDeserializeMessageFailed
Could not deserialize the message in the update
- 6273 · 0x1881OracleWrongGuardianSetOwner
Wrong guardian set owner in update price atomic
- 6274 · 0x1882OracleWrongWriteAuthority
Oracle post update atomic price feed account must be drift program
- 6275 · 0x1883OracleWrongVaaOwner
Oracle vaa owner must be wormhole program
- 6276 · 0x1884OracleTooManyPriceAccountUpdates
Multi updates must have 2 or fewer accounts passed in remaining accounts
- 6277 · 0x1885OracleMismatchedVaaAndPriceUpdates
Don't have the same remaining accounts number and pyth updates left
- 6278 · 0x1886OracleBadRemainingAccountPublicKey
Remaining account passed does not match oracle update derived pda
- 6279 · 0x1887FailedOpenbookV2CPI
The program raised this named error and published no further explanation.
- 6280 · 0x1888InvalidOpenbookV2Program
The program raised this named error and published no further explanation.
- 6281 · 0x1889InvalidOpenbookV2Market
The program raised this named error and published no further explanation.
- 6282 · 0x188aNonZeroTransferFee
Non zero transfer fee
- 6283 · 0x188bLiquidationOrderFailedToFill
Liquidation order failed to fill
- 6284 · 0x188cInvalidPredictionMarketOrder
Invalid prediction market order
- 6285 · 0x188dInvalidVerificationIxIndex
Ed25519 Ix must be before place and make SignedMsg order ix
- 6286 · 0x188eSigVerificationFailed
SignedMsg message verificaiton failed
- 6287 · 0x188fMismatchedSignedMsgOrderParamsMarketIndex
Market index mismatched b/w taker and maker SignedMsg order params
- 6288 · 0x1890InvalidSignedMsgOrderParam
Invalid SignedMsg order param
- 6289 · 0x1891PlaceAndTakeOrderSuccessConditionFailed
Place and take order success condition failed
- 6290 · 0x1892InvalidHighLeverageModeConfig
Invalid High Leverage Mode Config
- 6291 · 0x1893InvalidRFQUserAccount
Invalid RFQ User Account
- 6292 · 0x1894RFQUserAccountWrongMutability
RFQUserAccount should be mutable
- 6293 · 0x1895RFQUserAccountFull
RFQUserAccount has too many active RFQs
- 6294 · 0x1896RFQOrderNotFilled
RFQ order not filled as expected
- 6295 · 0x1897InvalidRFQOrder
RFQ orders must be jit makers
- 6296 · 0x1898InvalidRFQMatch
RFQ matches must be valid
- 6297 · 0x1899InvalidSignedMsgUserAccount
Invalid SignedMsg user account
- 6298 · 0x189aSignedMsgUserAccountWrongMutability
SignedMsg account wrong mutability
- 6299 · 0x189bSignedMsgUserOrdersAccountFull
SignedMsgUserAccount has too many active orders
- 6300 · 0x189cSignedMsgOrderDoesNotExist
Order with SignedMsg uuid does not exist
- 6301 · 0x189dInvalidSignedMsgOrderId
SignedMsg order id cannot be 0s
- 6302 · 0x189eInvalidPoolId
Invalid pool id
- 6303 · 0x189fInvalidProtectedMakerModeConfig
Invalid Protected Maker Mode Config
- 6304 · 0x18a0InvalidPythLazerStorageOwner
Invalid pyth lazer storage owner
- 6305 · 0x18a1UnverifiedPythLazerMessage
Verification of pyth lazer message failed
- 6306 · 0x18a2InvalidPythLazerMessage
Invalid pyth lazer message
- 6307 · 0x18a3PythLazerMessagePriceFeedMismatch
Pyth lazer message does not correspond to correct fed id
- 6308 · 0x18a4InvalidLiquidateSpotWithSwap
The program raised this named error and published no further explanation.
- 6309 · 0x18a5SignedMsgUserContextUserMismatch
User in SignedMsg message does not match user in ix context
- 6310 · 0x18a6UserFuelOverflowThresholdNotMet
An arithmetic operation inside the program went out of range. In exchanges this usually means the amount, price or liquidity at that moment produced a number the pool cannot represent, often a trade far larger than the pool can absorb.
- 6311 · 0x18a7FuelOverflowAccountNotFound
An arithmetic operation inside the program went out of range. In exchanges this usually means the amount, price or liquidity at that moment produced a number the pool cannot represent, often a trade far larger than the pool can absorb.
- 6312 · 0x18a8InvalidTransferPerpPosition
Invalid Transfer Perp Position
- 6313 · 0x18a9InvalidSignedMsgUserOrdersResize
Invalid SignedMsgUserOrders resize
- 6314 · 0x18aaCouldNotDeserializeHighLeverageModeConfig
Could not deserialize high leverage mode config
- 6315 · 0x18abInvalidIfRebalanceConfig
Invalid If Rebalance Config
- 6316 · 0x18acInvalidIfRebalanceSwap
Invalid If Rebalance Swap
- 6317 · 0x18adInvalidRevenueShareResize
Invalid RevenueShare resize
- 6318 · 0x18aeBuilderRevoked
Builder has been revoked
- 6319 · 0x18afInvalidBuilderFee
Builder fee is greater than max fee bps
- 6320 · 0x18b0RevenueShareEscrowAuthorityMismatch
RevenueShareEscrow authority mismatch
- 6321 · 0x18b1RevenueShareEscrowOrdersAccountFull
RevenueShareEscrow has too many active orders
- 6322 · 0x18b2InvalidRevenueShareAccount
Invalid RevenueShareAccount
- 6323 · 0x18b3CannotRevokeBuilderWithOpenOrders
Cannot revoke builder with open orders
- 6324 · 0x18b4UnableToLoadRevenueShareAccount
Unable to load builder account
- 6325 · 0x18b5InvalidConstituent
Invalid Constituent
- 6326 · 0x18b6InvalidAmmConstituentMappingArgument
Invalid Amm Constituent Mapping argument
- 6327 · 0x18b7ConstituentNotFound
Constituent not found
- 6328 · 0x18b8ConstituentCouldNotLoad
Constituent could not load
- 6329 · 0x18b9ConstituentWrongMutability
Constituent wrong mutability
- 6330 · 0x18baWrongNumberOfConstituents
Wrong number of constituents passed to instruction
- 6331 · 0x18bbInsufficientConstituentTokenBalance
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6332 · 0x18bcAMMCacheStale
Amm Cache data too stale
- 6333 · 0x18bdLpPoolAumDelayed
LP Pool AUM not updated recently
- 6334 · 0x18beConstituentOracleStale
The data this instruction relied on (a quote, price or order) was already out of date when it executed.
- 6335 · 0x18bfLpInvariantFailed
LP Invariant failed
- 6336 · 0x18c0InvalidConstituentDerivativeWeights
Invalid constituent derivative weights
- 6337 · 0x18c1MaxDlpAumBreached
Max DLP AUM Breached
- 6338 · 0x18c2SettleLpPoolDisabled
Settle Lp Pool Disabled
- 6339 · 0x18c3MintRedeemLpPoolDisabled
Mint/Redeem Lp Pool Disabled
- 6340 · 0x18c4LpPoolSettleInvariantBreached
Settlement amount exceeded
- 6341 · 0x18c5InvalidConstituentOperation
Invalid constituent operation
- 6342 · 0x18c6Unauthorized
Unauthorized for operation
- 6343 · 0x18c7InvalidIsolatedPerpMarket
Invalid Isolated Perp Market