Running into errors when attempting to Mint using metamask & hardhat

I'm super new in developing minting APIs. I am working on a react app for minting NFTs. I am using Hardhat/web3 & using a metamask wallet for testing. I'm just trying to build a basic minting UI & I am following a tutorial (https://www.youtube.com/watch?v=meTpMP0J5E8&t=803s). I managed to connect my wallet to the UI, but when I attempt to mint, I get these two errors, each of which is an error that I can't find a similar instance of anywhere online. I've attached a “““`screenshot of the errors I receive, I've tried googling these errors, but I haven't found anything remotely similar.
submitted by /u/tizzy20
[link] [comments]