IPFS - Maximum call stack size exceeded

You can try uploadFolder functionality, I donā€™t know when it will be fixed.

Thanks for the reply,
Is uploadFolder compatible with other ipfs gateways (beyond moralis ones)?

Like ā€œhttps://infura-ipfs.io/ipfs/ā€ for instance

yes, it is compatible with the other ipfs gateways.

Sorry for so many questions but it looks like uploadFolder canā€™t be used in cloud functions. Is that right?

it should work without problems, it is only a web3api call, you can also call it directly has REST api

1 Like

So web3api call works! Thanks for the help.

I still personally prefer using normal hash without the ā€œfolder/filenameā€ at the end. This way I could find duplicates easily, because same file generates same ipfs hash.
Correct me if Iā€™m wrong but this isnā€™t possible with web3api (I suppose) because it uploads a folder instead of a single file.

Meanwhile I got some more examples that break ā€œMoralis.Cloud.toIpfsā€ that my users found while trying to upload images to the dapp.

https://ufile.io/dlh55d4h (4 images total, for now, from +500 images posted)

you can use same folder and file path for all the uploaded files, like /a/b.c