Event sync not showing event data in database - OpenSea Clone

I’m still getting the error in the two screenshots above. I tried raising my gas limit on remix to 6 million.

Current contract address: 0xCA3036F1c44f62bdeE496264bB2205e0caBE3142
Most recent failed transaction: 0x5eef7cc2cce31a3f6ea1e18aade02bd08d216d134198812055322ed257e09c99

This message is also displayed in MetaMask when receiving a transaction offer:
“We were not able to estimate gas. There might be an error in the contract and this transaction may fail.”

You could try sending it through anyway - some other users have had the same issue with using the marketplace contract on certain testnets. It may require a change.

receiving a transaction offer

What do you mean by this? The failed transaction you posted seems to be related to not being able to create a market item.

So when an item in the collection tab of the marketplace is being listed for sale it has to be confirmed in metamask before completing. That’s all I mean when I say the transaction offer. So the warning that pops up in metamask before continuing says “We were not able to estimate gas. There might be an error in the contract and this transaction may fail.”.
And If I proceed with it I get the error that you see in the previous screenshots.

So I deployed the contract on remix again and tried calling the function and it is throwing an error saying “execution reverted: ERC721: caller is not token owner nor approved”. I am using the contract straight from the final repo of the tutorial video. I own the nft’s on the mumbai testnet that I am attempting to list so is there another version of the contract I should be using? Would you be able to test the smart contract on your end and see if you can get it working?

Which function are you calling? Check your parameters and that you’re calling from the right wallet, the error means you don’t have permission or ownership for the tokenId in the NFT contract.

Remix
I think that it might have something to do with approving the owner in the contract.
Maybe something like this?

Looks like you need to call from the right wallet that has ownership of that tokenId 4 - double check everything. The error is coming from transferFrom in that function.

Is this what you mean?
This is from inside the contract.

from this code it looks like the msg.sender wallet address has to own that tokenId or to have approval to transfer it in order to work