This seems to be the area where it is failing
for i in data: token_id = i['tokenId'] token = { "image": IMAGES_BASE_URI + str(token_id) + '.png', "tokenId": token_id, "name": PROJECT_NAME + ' ' + str(token_id), "attributes": [] }
Oddly enough I ran this again today and now a new error:
C:\Users\CHRIS~1.STA\AppData\Local\Temp/ipykernel_27868/3811645234.py in 139 "value": value 140 } --> 141 for i in data: 142 token_id = i['tokenId'] 143 token = {
TypeError: 'function' object is not iterable
hmm strange. I haven't got any problem like this. Check the source code out. Hope it helps github.com/victorquanlam/nft-creator
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This seems to be the area where it is failing
for i in data:
token_id = i['tokenId']
token = {
"image": IMAGES_BASE_URI + str(token_id) + '.png',
"tokenId": token_id,
"name": PROJECT_NAME + ' ' + str(token_id),
"attributes": []
}
Oddly enough I ran this again today and now a new error:
C:\Users\CHRIS~1.STA\AppData\Local\Temp/ipykernel_27868/3811645234.py in
139 "value": value
140 }
--> 141 for i in data:
142 token_id = i['tokenId']
143 token = {
TypeError: 'function' object is not iterable
hmm strange. I haven't got any problem like this.
Check the source code out. Hope it helps
github.com/victorquanlam/nft-creator