create-10k-nft-collection
create-10k-nft-collection copied to clipboard
Inalid json response body at..... unexpected token< in json at position 1[Bug]:
Version
- [X] Yes
General Question
- [X] No
What happened?
When running the none utils/nftport/uploadFiles.js i get hit with this error Invalid json response body at..... unexpected token< in json at position 1.
What have you tried?
I Googled and asked the community in the discord server but could not find a solution. Surfed everywhere for an answer and yet to actually find a solution even went all the way through the discord.. nothing. Latest version used and pretty sure my code is pitch perfect per tutorial. Please Find attached code for uploadFiles.js
Relevant log output
No response
Protect your information
- [X] I Agree
Hello there, I am getting the same error, I tried to google for a solution and spent a lot of time on reviewing my code and I am sure my code matches the code from tutorial
EDIT I found out that there was an issue with paths, for some reason ${} command (Im not sure if 'command' is a correct word here but I hope You get my point) didn't work as expected, even though it was working during pictures generating phase. Code worked if I put paths for each file separately. I downloaded current source code instead of using a source code from the tutorial, I adjusted it a bit and it is working now.
Hi, can you please show us how did you solve your problem? cause i have near the same problem and i cant find how to fix it.
Hi, you can try my repo as well. I added support for blank specifically or any blank keyword.
https://github.com/thepeanutgalleryandco/create-and-mint-nft-collection