Skip to main content

Price & Oracle Errors (100–119)

These errors occur during price resolution, oracle validation, and slippage checks.


Error Table

CodeNameMessageCauseSolution
100InvalidPriceInvalid pricePrice zero, negative, or unreasonableProvide valid positive price
101StalePriceDataOracle price too staleTimestamp exceeds staleness thresholdWait for oracle update
102InvalidOracleAccountInvalid oracle accountAccount not valid price feedVerify correct Pyth/Switchboard feed
103OraclePriceOutOfBoundsOracle price out of boundsPrice unreasonably high/lowCheck oracle status
104SlippageExceededSlippage exceededPrice moved beyond toleranceIncrease slippage or retry
105InvalidClosePriceInvalid close priceClose price invalidRetry with current market price
106InvalidPriceFeedInvalid price feedFeed account invalid/corruptedVerify configured oracle address
107StalePriceFeedStale price feedFeed not recently updatedWait for fresh update
108LowConfidencePriceFeedLow confidence price feedOracle confidence too wideWait for stable price data
109NoPriceFeedConfiguredNo price feed configuredAsset missing oracle configAdmin must configure feed
110InvalidOracleConfigInvalid oracle configConfiguration invalidUpdate oracle settings
111InvalidPriceStatusInvalid price statusOracle status unavailableWait for normal oracle status

Characteristics

  • Triggered during order execution or liquidation
  • Enforce oracle freshness and confidence checks
  • Protect against price manipulation
  • Enforce slippage tolerance constraints