Pyth Core upgrade July 31, 2026. Every Core user will need an API Key. Learn more →
Developer Hub

Troubleshoot EVM Price Feeds Contract

Resolve common issues when integrating Pyth price feeds on EVM chains

This reference page is designed to help you troubleshoot common issues you may encounter when using Pyth Price Feeds on EVM chains. Follow the steps provided below to diagnose and resolve the issue.

Pyth Core on EVM chains is upgrading on July 31, 2026

  • We recommend new integrations use the upgraded EVM contracts.
  • Existing integrations on EVM chains in the upgrade will be automatically upgraded by the DAO on July 31, 2026. See the upgrade guide for details.
  • Contact the team if your chain isn't in the upgrade list.

getPriceNoOlderThan() reverts with StalePrice() or 0x19abf40e error

This error occurs when the requested price feed has not been updated within the specified age parameter.

To resolve this issue:

  • Update the prices by calling updatePriceFeeds() by passing the latest updateData from Hermes.
  • Another method to fetch the price is getPriceUnsafe() If the price feed is available, the method will return the latest prices with timestamp of last update. NOTE: getPriceUnsafe() method does not check the freshness of the price.

getPriceNoOlderThan() reverts with PriceFeedNotFound() or 0x14aebe68 error

This error occurs when the requested price feed has not been updated on-chain, or the price feed id is incorrect.

To resolve this issue:

updatePriceFeeds() reverts with InsufficientFee() or 0x025dbdd4 error

This error occurs when the fee provided for updating the price feed is insufficient. To resolve this issue:

On this page