How to execute the bidNFT function?

I am also confused about it. When I have tried to bid any NFT using moralis, it doesn’t work and give an error named: cannot estimate gas; transaction may fail or may require manual gas limit. I only get this error whenever I try to execute the “makeBid” function.

Do you know how to work with it. Here is the contract:

Here is the error.

You may need to set gas manually, to do that, for now you will have to use ethers.js or web3.js directly. Here is an example on doing it.