Lesson 14 Error: call revert exception; VM Exception while processing transaction: reverted with reason string "URI Query for nonexistent token" #2435
-
Hi everyone, I'm at the end of Lesson 14 and I've got the following error in mint.js when I tried to deploy it on the hardhat node:
mint.js:
DynamicSvgNft.sol:
03-deploy-dynamic-svg-nft.js:
What I'm doing wrong here? |
Beta Was this translation helpful? Give feedback.
Answered by
RoboCrypter
Sep 8, 2022
Replies: 1 comment 2 replies
-
@zeledorka : I have found the mistake! It is in your contract : Change the mintNft function from this :
To this :
Just Copy this one, I have corrected the sequence in the function! Then do hardhat deploy It will resolve your issue! |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
zeledorka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@zeledorka : I have found the mistake!
It is in your contract :
Change the mintNft function from this :
To this :
Just Copy this one, I have corrected the sequence in the function!
Then do h…