πŸ” Handling Errors

Over Quota

If you get the "Quota exceeded" error, the processor will stop running. You can contact sales to upgrade your plan, or wait for the next month for the quota reset.

Time series exceeds 10k

Please refer to avoid-high-cardinality

Invalid Label Name

If your metric or label name contains invalid characters or conflicts with system reserved labels, the processor will stop running. Please update and re-upload.

Regular Processor Error

If you observe an error, it is always possible to use debug-processors to help with the debugging.

Ethers Error

When you make ethers calls in your processor, it's easy to produce errors. You can check the following list for possible causes:

  • You are using the wrong address for the contract. You can use try catch and console.log the address, then verify it on the blockchain explorer.

  • You are calling chains other than Ethereum mainnet. The get contract view function has a default chain parameter, e.g.
    getERC721Contract(address: string, network: EthChainId.ETHEREUM)
    You need to specify network parameters for other chains. The list of chain IDs can be imported with:

    import { EthChainId } from "@sentio/sdk/eth";
  • Using the wrong block number when calling the view function. The default block numbers are the following (it's common for calls to fail for certain blocks; contact [email protected] if you still have a problem):

    • If you are using ctx.contract.function, then the default block number is ctx.blockNumber
    • If you just call a contract view outside of context, it defaults to latest
  • If you see UNRECOGNIZED_NAME, it's likely that you passed an invalid ENS name to a field that requires an address type.

If you still have problems, feel free to contact us.