Generate NFTs with this simple code (this could make you millions) PART 2

I have run node index.js, but Metadata doesn’t appear in the dashboard. All the 10 Mutants are downloaded, but not the json files. Could you please help me what I am doing wrong?

image

Hey @sheilashehu

Please provide us as much info as possible. Share your code, errors, server info, screenshots. Thank you :raised_hands:

When I run node index.js, these are the only files that are downloaded: image.

After that, the task keeps running for a couple of minutes in the terminal. I guess the upload to IPFS isn’t successful because I can’t see the json files for each of the mutants:


![image|690x327]

request: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: null,
_hasBody: true,
_trailer: ‘’,
finished: true,
_headerSent: true,
socket: [TLSSocket],
connection: [TLSSocket],
_header: ‘POST /api/v2/ipfs/uploadFolder HTTP/1.1\r\n’ +
‘Accept: application/json\r\n’ +
‘Content-Type: application/json\r\n’ +
‘X-API-Key: 60d4b0a7-d17e-4df8-a6ea-2c89ba37671e\r\n’ +
‘User-Agent: axios/0.23.0\r\n’ +
‘Content-Length: 4940945\r\n’ +
‘Host: deep-index.moralis.io\r\n’ +
‘Connection: close\r\n’ +
‘\r\n’,
_onPendingData: [Function: noopPendingOutput],
agent: [Agent],
socketPath: undefined,
method: ‘POST’,
insecureHTTPParser: undefined,
path: ‘/api/v2/ipfs/uploadFolder’,
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
_redirectable: [Writable],
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
data: { message: ‘Invalid key’ }
},
isAxiosError: true,
toJSON: [Function: toJSON]

I went through the exact steps as in youtube video. Chain is Polygon Mumbai.

Also something off topic, I can’t join Moralis Discord Community, it says that the messages failed to load as you can see the screenshot below.

P.s: Sorry for replying in different messages, but is says that new users can’t post more than one picture.

Usually this means that the right api key was not used, you can find your api key in admin interface on web3api tab