useEVMUploadFolder() Hook issue

I’m trying to use useEVMUploadFolder hook from @moralisWeb3/next package. Below is the following code snippet:

const { fetch, isFetching, error, data: evmUploadData } = useEvmUploadFolder();

useEffect(() => {
    console.log('IPFS:File Upload Error', error);
  }, [error]);

  useEffect(() => {
    console.log('IPFS:EVM upload data', evmUploadData);
  }, [evmUploadData]);

  useEffect(() => {
    console.log('IPFS:Upload Is Fetching', isFetching);
  }, [evmUploadData]);

const uploadFileToIPFSFunc = async () => {
          console.log('Uploading FIle Now');
          const response = await fetch({
            abi: [{ path: folderName, content: nftBase64 }],
          });
          console.log('Upload Folder response', response);
        };
uploadFileToIPFSFunc();

On executing the fuction, I receive no response and no . When I had put error under useEffect(), I saw the following error in the console:

IPFS:File Upload Error TypeError: Cannot read properties of null (reading 'operation')
    at fetcher (fetcher.js?b8a9:45:1)
    at eval (index.esm.js?0159:757:1)
    at step (index.esm.js?0159:50:1)
    at Object.eval [as next] (index.esm.js?0159:31:46)
    at eval (index.esm.js?0159:24:1)
    at new Promise (<anonymous>)
    at __awaiter (index.esm.js?0159:20:1)
    at eval (index.esm.js?0159:700:62)

Would appreciate if anyone can assist…

You could try to use a cloud function and call the cloud function with the path and the base64 data and in the cloud function to use uploadFolder web3api function

But cloud functions are of V1… aren’t they obsolete now? Can there be any other alternative?