Error reference

JIKA's errors are Anchor custom errors: code 6000 plus the index below.

CodeNameRaised byMeaningWhat to do
6000InvalidMintcreate_feedThe account is not an initialized SPL Token or Token-2022 mintPass the token's mint account
6001NumeraireHasNoFeedcreate_feedwSOL is the unit every feed is priced in; it has no feed of its ownRead SOL-denominated prices directly; use the USDC feed for SOL in dollars
6002UnsupportedVenueadd_venueThe pool is not owned by a supported DEX programUse a pool from one of the seven supported DEX programs
6003VenueLayoutadd_venueThe pool data does not match the expected layout for its DEXCheck the pool address; during update a pool whose layout changed reads as no sample instead of failing
6004VenueMintMismatchadd_venueNeither side of the pool is this feed's mintAdd the pool to the feed of the token it trades
6005UnsupportedQuoteadd_venueThe other side of the pool must be wSOL or USDCOnly wSOL and USDC pairs count
6006DuplicateVenueadd_venueThe pool is already a venue of this feedNothing to do
6007VenueListFulladd_venueAll 8 venue slots hold confirmed depth; none can be replaced yetA slot frees up when a venue older than 3,000 slots holds under 1% of the depth
6008VenueAccountsMismatchupdateThe accounts passed for a venue do not match the pool's own vaults or bin array, or are out of orderBuild the instruction with updateIx(connection, mint)
6009BridgeRequiredadd_venue, updateA USDC-quoted venue needs the USDC feed passed as the bridge accountPass the USDC feed
6010NotLivereadThe feed is still warming up (fewer than 600 credited slots)Keep updating; about 4 to 5 minutes
6011StalereadThe feed was last updated more than max_age_slots agoUpdate it, or run a keeper
6012TooUncertainreadThe band is wider than max_conf_ticksTreat as no price right now; check again after the pools settle

Handling read errors in a consumer

NotLive, Stale and TooUncertain are not faults. They mean "no price you said you could use, right now". A lender should block new borrows and liquidations against that token until a read succeeds, never fall back to zero or to a cached number.

Errors you will not see

  • A pool that is paused, closed, not yet open or a completed pump.fun curve does not raise an error: it reads as no sample and carries no weight.
  • An update in the same slot as the previous one does nothing and succeeds.
NextFAQ