Troubleshooting
Common issues and how to resolve them.
"Invalid JSON" Error
This usually happens when you copy something that isn't the ABI array.
- Ensure you copy ONLY the array starting with
[and ending with]. - Don't include the
"abi":key if copying from a larger JSON file. - Validate your JSON at jsonlint.com.
Hydration Errors
If you see "Text content does not match server-rendered HTML":
- This is common in web3 apps detecting wallet state.
- Ensure you wrap wallet-dependent components in a
ClientOnlywrapper or usemountedstate checks.
Contract Calls Failing
- Wrong Network: Make sure your wallet is connected to the same network as your contract.
- Wrong Address: Double check the contract address you pasted.
- Out of Gas: Ensure you have enough ETH (or testnet ETH) for the transaction.