Hello @shanni.satlujwebsolu ,
Thanks for sharing the error and the screenshot — let’s walk through what could be causing this and how to troubleshoot it.
The error message you’re seeing:
Uncaught (in promise) Error: Returned values aren’t valid. Did it run Out of Gas?
You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.
This typically points to one of the following issues:
-
Incorrect ABI (Application Binary Interface)
Make sure the ABI you’re using in your plugin or Bubble setup exactly matches the smart contract deployed to the blockchain. Even a small difference (e.g. changed function name, parameter mismatch) will break the setup.
-
Wrong contract address or network
Double-check that you’re connected to the correct network (e.g., Ethereum Mainnet, Polygon, etc.) and using the right contract address.
-
The contract method being called does not exist or is not public/view
Ensure that the function you’re calling exists on the contract, and it’s a public/view function if you’re reading data (vs. writing).
-
Node not synced or RPC endpoint issue
If you’re using a custom RPC node (like Infura, Alchemy, etc.), make sure it’s working and fully synced. Try switching to another RPC node to test.
-
Gas issues only apply to transaction (write) functions
If you’re just trying to read data (not send a transaction), gas shouldn’t be an issue. If you are making a transaction, try increasing the gas limit slightly and make sure you have enough ETH for gas fees.
To continue troubleshooting, could you please provide the following?
- A screenshot of the plugin element’s configuration (with the contract address, method, and ABI field visible if possible)
- Screenshots of your workflow, se we can better understand your use case
- A screen recording with the debug_mode=true and in Step-by-step mode, so we can better understand when and where does the error message appear.
Once we get this info, we’ll be able to pinpoint the cause more accurately and guide you on the next steps.
Looking forward to your reply!
Best regards,
Egor Smorodinov,
Support Team
Browse all Zeroqode Plugins for bubble
