Documentation Index Fetch the complete documentation index at: https://continuum-ec12e897.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Anchor maps program errors to numeric codes starting at 6000 per program. The same numeric code can mean different things in different programs - always pair the code with the program ID.
mint-redeem
Program ID (devnet): 5MBjhNUUguLTPNR5WG6YBUUw7vUcxQ14ARw3NsS3rKu4
Code Name Cause How to fix 6000 MarketNotActiveMarket.is_active = falseWait - operator may pause a market for maintenance. 6001 InvalidAmountZero or negative amount Pass a positive BN. 6002 InsufficientCollateralVault can’t cover the redeem (rare; would imply solvency bug) Report immediately. 6003 InvalidOracleOracle account passed doesn’t match market.oracle_address Use market.oracle_address always. 6004 UnsupportedOracleTypeBad oracle_type enum value Pick from Pyth / Hermes / Switchboard / Manual. 6005 OraclePriceUnavailableOracle paused or no fresh observation Wait for keeper to push observations. 6006 MathOverflowShould be unreachable Report. 6007 SymbolTooLongSymbol > 16 chars Pick a shorter symbol. 6008 FeeTooHighFee bps > 1000 (10%) Lower the fee. 6009 MintNotAllowedInStressRisk state is Stress Wait for recovery, or trade on Meteora pool instead. 6010 RedeemNotAllowedInStressReserved (redeem in Stress is currently allowed) Should not occur. 6011 ExceedsStressMintCapProxyMode/Recovery size throttle hitReduce mint size, retry. 6012 TwapNotAvailableTWAP buffer not yet populated Wait ~75s after market init. 6013 AlreadyEnabledMulti-collateral already on Skip the call. 6014 MultiCollateralNotEnabledTried to add collateral type without enabling Call enable_multi_collateral first. 6015 MaxCollateralTypesExceededMore than 5 collateral types Hard cap. 6016 InvalidWeightMulti-collateral weight not in [1, 10000] bps Use 1–10000. 6017 CollateralAlreadyExistsDuplicate collateral mint Update via update_collateral_vault. 6018 CollateralNotFoundUnknown collateral type Add via add_collateral_vault. 6019 BelowMinimumMint < 10 cUSDC Mint at least 10_000_000 lamports. 6020 UnauthorizedKeeperSigner ≠ market.keeper_authority Use the keeper’s keypair. 6021 UnauthorizedSigner ≠ market.authority Admin-only call. 6022 InsufficientLiquidCollateralYield deployed; recall first Yield is off by default; report if you see this. 6023 ExceedsYieldCeilingDeployment > yield_ceiling_bps Operator config issue. 6024 YieldManagementDisabledyield_enabled = falseYield is off by design on devnet. 6025 RecallExceedsDeployedRecall > deployed balance Operator config issue.
oracle
Program ID (devnet): 5vxiCrDpFnQ2W5QtgZBC66K2XTC19bjVBjinGYYBsadC
Code Name Cause How to fix 6000 OraclePausedis_paused = trueAdmin emergency pause. Wait for unpause. 6001 InvalidPythAccountWrong Pyth account passed Use the configured oracle_config.pyth_oracle. 6002 PriceUnavailableNo fresh observation Wait for keeper to push. 6003 ConfidenceTooHighConfidence > max_confidence_interval Wait for confidence to narrow; transient. 6004 PriceStaleLast update older than max_staleness Keeper outage; ProxyMode imminent. 6005 PriceMovementTooLargeNew observation > 20% from prior Pyth glitch or extreme move; observation rejected. 6006 TwapNotReadyTWAP buffer not populated Wait. 6007 InvalidTwapWindowTWAP window < 1s or > 24h Operator config. 6008 MarketStateRestrictionOperation not allowed in current state Risk-state-gated. 6009 UnauthorizedKeeperSigner ≠ oracle_config.keeper_authority Use the keeper’s keypair. 6010 UnauthorizedAdminSigner ≠ oracle_config.admin_authority Admin-only call. 6011 InvalidRegisteredFeedFeed not in OracleFeed registry Register feed first. 6012 InactiveOracleFeedFeed exists but is_active = false Activate or pick another feed. 6013 MathOverflowShould be unreachable Report.
clp
Program ID (devnet): 8xauDRjw9XRyk4FE3hW1JKjD8nC87gfr59Xig1dJqLES
Code Name Cause How to fix 6000 UnauthorizedSigner mismatch Match the relevant authority. 6001 WithdrawalLockedLockup not yet expired Wait. 6002 InvalidAmountZero or negative Pass a positive BN. 6003 InsufficientSharesLP-share path (legacy) Should not occur in MVP. 6004 InsufficientFundsVault can’t cover request Recall capital from positions first. 6005 InsufficientLiquidFundsFunds deployed; recall first Withdraw Meteora positions, then retry. 6006 OICapExceededNew OI > oi_cap Operator: raise the cap. User: smaller mint. 6007 MathOverflowShould be unreachable Report. 6008 InsufficientBufferProtocol buffer can’t absorb loss Operator action. 6009 HardBoundBreachq or drawdown past hard bound Wait for renormalization. 6010 YieldStrategyDisabledYield off By design. 6011 ExceedsMaxDeploymentPer-state deployment cap exceeded Operator config. 6012 MaxDeploymentsExceededDeployment array full Operator config. 6013 DeploymentNotFoundUnknown protocol Operator config. 6014 InsufficientDeploymentRecall > deployed Operator config. 6015 DeploymentTooHigh% > config Operator config. 6016 OracleReadErrorBound oracle unreadable Oracle config bug; report. 6017 InvalidPoolPool pubkey mismatch Use clp.meteora_long_pool / meteora_short_pool. 6018 PoolNotConfiguredPool not yet wired Operator: run configure_meteora_pools. 6019 AdminWithdrawCapExceeded24h $100K cap hit Wait for window roll. 6020 InvalidPositionPosition pubkey mismatch Match clp.meteora_*_position. 6021 InvalidAccountDataAccount data too small Wrong account passed.
registry
Program ID (devnet): REGnHqnJMxLoRAKX5RqPd9VJGcZBNgmg4xs5bVGGTap
Code Name Cause How to fix 6000 SymbolTooLongSymbol > 16 chars Use a shorter symbol.
faucet
Program ID (devnet): 9tUeQAPEtVSB68NSfvFAqfwaB74GuVxm6Zbp1hrMiNKY
Code Name Cause How to fix 6000 CooldownNotElapsedDrip too soon after prior Wait, or use a fresh wallet.
How errors surface in clients
Anchor wraps program errors in transaction-level errors. The shape varies by SDK:
try {
await program . methods . mintPaired ( amount ). accounts ({ ... }). rpc ();
} catch ( e ) {
// Anchor IDL-aware error
if ( e . error ?. errorCode ?. code === "MintNotAllowedInStress" ) {
// ...
}
// Or numeric
if ( e . error ?. errorCode ?. number === 6009 ) {
// ...
}
// Logs are also useful
console . error ( e . logs );
}
For raw web3.js error inspection:
// Look at logs in tx simulation
const sim = await connection . simulateTransaction ( tx );
console . log ( sim . value . logs );
// Lines like "Program log: AnchorError thrown in programs/mint-redeem/src/lib.rs:..."
Common error sequences
”User mint failed with OraclePriceUnavailable”
→ Oracle is Paused or stale beyond threshold. Likely the keeper is down or restarting. Wait 30 seconds, retry. If persistent, check the Discord #status channel .
”Mint failed with MintNotAllowedInStress”
→ Risk state is Stress. The keeper is detecting wide confidence or extended staleness. Check market.risk_state; surface to the user as “minting paused, redeem still works”.
”Mint failed with OICapExceeded”
→ The market has hit its cap. Either reduce your mint size (under-cap) or wait for OI to drop via redemptions.
”Mint failed with BelowMinimum”
→ Trying to mint less than 10 cUSDC. Bump up.
”All instructions fail with Unauthorized”
→ Wrong signer. Verify your keypair matches the expected authority for the instruction. For privileged ops, your pubkey must be market.keeper_authority (for keeper_*_single) or market.authority (for admin ops).
See also
FAQ Common questions including error symptoms.
Glossary What terms in error names mean.