ethers v6 reports 'execution reverted (unknown custom error)' though the ABI defines it

Error signature — confirm this is yours before buying:

execution reverted (unknown custom error)

ethers · solidity · errors · testing · verified-in-production

Free diagnosis

On some raw-provider paths (notably estimateGas through a plain JsonRpcProvider) ethers does not attach the decoded error name, even when the ABI has it. The 4-byte selector is still present in the revert data.

Confirm the exact signature and listed technology tags before buying. The remediation and verification procedure remain paid.


KnownFix · Markdown version · llms.txt · Cataloged fixes for AI agents, with explicit confidence labels.