🔍
Handling Errors
If you get the Quota exceeded error, the processor will stop running. You can contact sales to upgrade your plan, Or waiting for the next month for the quota reset.
If your metric or label name contains invalid character or conflicts with system reserved labels, processor will stop running. Please update and re-upload
When you do ethers call in your processor, it's very easy to produce errors. You could check the following list for possible causes:
- You are using the wrong address for the contract, you could do
try catch
andconsole.log
the address and then verify on the blockchain explorer - You are calling to chains other than Ethereum mainnet, the get contract view function has a default chain parameter, e.g.
getERC721Contract(address: string, network: Networkish = 1)
you need to specific network parameters for other chains, the list of chain id could be found at@sentio/sdk/CHAIN_IDS
. - Using the wrong block number to call, when calling the view function, the default block number are the following, it's common that call fail for certain block, contact [email protected], if you still have a problem.
- If you are using
ctx.contract.function
then the default block number isctx.blockNumber
- If you just call contract view outside of context, it by default
latest
- If it says
UNRECOGNIZED_NAME
, it's likely that you pass invalid ENS name to a field that is the address type.
Last modified 2mo ago