Why Token URI cannot find the Token Id?

These Are “Prints” and out put .
if it is not what you addressed me just tell me please .

It looks like it tries to access token id 0 instead of 1

Yes I dont know why the print(TokenId) in range(number_of_NFT) shows 0 but the print(Number_of_NFT) shows 1 !!

That is kind of basic python syntax. Try to add + 1 to that token id if you don’t understand what happens.

so is there any solution for this you think ?

I just said above what is the solution

Nothing changes I guess :

What does that error mean?

Actually I dont know it sometimes appear when we havnt enaugh fund for Gas , but here I dont know really …

hi there again I think there is some problem in my backend code , could you please assist me to write this function in the picture below in line 11 :

for this function in my smart contract according to picture below :

I don’t know how to assist here.

sorry ‘here’ you mean this enviroment i mean moralis or you mean the code ?

I don’t know what that code does in solidity to be able to help

Okay thanks for all your comments :pray: