Clowning rarible episode 5 unable to reach code error

I have a “unable to reach code error” on line 27

Items[newItemId] = Item(newItemId, msg.sender, uri);

I’m not sure why this stopped working all of a sudden because now when I mint any nft’s they are left pending in the database.

Usually they are left in pending state because moralis waits for block confirmations until it turns into minted NFTs.

Could you please share the code so that we can evaluate the issue.


Yea sorry about that it was omitted because I had the gist surrounded with script tags. The code is present now.

Would it be similar to the issue that these people are facing?

If yes, please provide your server url for us to check.

Ok thank you this is my url

Which network are you using to execute the mints ?

using ganache for execution

Yes, this is correct behaviour because the NFTs are kept under pending unless there are more than one block confirmation. And on ganache each block is created only after a transaction is made.

So, we wait for more than one block to confirm a NFT mint.

Hope this helps.


Thank you so much for the help malik, it was something stupid. I forgot to refresh the devchain proxy directly from the dashboard after piping the everything to ganache using frpc.

Thank you so much for taking the time out to help me.

Have yourself a great day!

1 Like