Skip to main content

Ethers provider behaviour when hitting the API key daily limit

When the daily API key limit is being hit, an API request to Infura should return: “exceeded project daily request limit”.

However, the ethers InfuraProvider can throw a timeout error and the JsonRpcProvider can throw a could not detect network error.

Please follow the progress on this issue here: https://github.com/ethers-io/ethers.js/issues/2839. Learn more about Infura daily limits.

Was this helpful?
Connect MetaMask to provide feedback
What is this?
This is a trial feedback system that uses Verax to record your feedback as onchain attestations on Linea Mainnet. When you vote, submit a transaction in your wallet.