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