hello , I get this error after I minted a Token :
Value Error: execution reverted: ERC721Metadata: URI query for nonexistent token: ‘(‘ERC721Metadata: URI query for nonexistent token’,)’
and the command is :
def main():
print("Working on " + network.show_active())
advanced_collectible = getMultiDataTypeTemplate[len(getMultiDataTypeTemplate) - 1]
number_of_NFT = advanced_collectible.TokenId()
print(advanced_collectible.address)
# print(advanced_collectible.tokenURI(TokenId))
print(
"The number of tokens you've deployed is: "
+ str(number_of_NFT)
)
for TokenId in range(number_of_NFT):
breed = get_breed(advanced_collectible.TokenId())
print(breed)
print(advanced_collectible.tokenURI(TokenId))
if not advanced_collectible.tokenURI(TokenId).startswith("https://"):
print("Setting tokenURI of {}".format(TokenId))