Services Plugins FAQs

JSZip Error downloading files

Hi!

I’m trying to use JSZip to download a compressed file with a bunch of files in my Bubble database.

I’m getting the following error:

"The plugin JS Zip File Generator / action Generate Zip file (Client) a JSZip threw the following error: NetworkError: Failed to execute ‘send’ on ‘XMLHttpRequest’: Failed to load ‘[URL IS HERE]’. at u (PLUGIN_1558479233423x812324264528052200/JS-Zip-File-Generator-element_action–JSZip-Generate-Zip-file–Client–.js:3:3446) at eval (PLUGIN_1558479233423x812324264528052200/JS-Zip-File-Generator-element_action–JSZip-Generate-Zip-file–Client–.js:3:4207) (please report this to the plugin author) "

My URLs are stored like:

https://urbanebucket.s3.sa-east-1.amazonaws.com/[FOLDER1]/[FOLDER2]/[FOLDER3]/[FOLDER4]/[NAME_FILE].pdf

Hey @arthur ,
Thank you for contacting us.

I have already passed this information to the development team and they will check what the problem is with the plugin.
As soon as I have an answer from them, I will definitely contact you.

Thank you for understanding.

Best Regards,
Anton

Browse all Zeroqode Plugins for Bubble
Banner_Last3

Ok, thanks for the answer.

I’m waiting and if you guys need anything else, let me know.

1 Like

Hey @arthur ,
Thank you for your patience.

Hope you’ve had a great weekend.

I’m excited to share that we have effectively resolved the issue with the JS Zip File Generator Plugin action and have updated it to version 2.10.0 ( “Fix CORS issue”).

Could you kindly update the plugin within your app to this latest version and confirm whether everything is now operating smoothly? :blush:

Feel free to explore the plugin’s functionality on our demo page.

Your patience and cooperation throughout this process have been greatly appreciated.

Best Regards,
Anton

Browse all Zeroqode Plugins for Bubble
Banner_Last3

It is working but only for a Small number of files. Everytime I try to download +100 pdf files and zip them, the page crashes. I know it could take some time, and there is no problem if the result does not come quickly.

I was thinking if there was anyway to send the request to backend, build the file, and then send ZIP by email…

Hey @arthur ,
Thank you for your reply.

Your error has nothing to do with the plugin, in fact the plugin works fine if you upload fewer files.

Most likely the error is in Bubble itself, because Bubble has its own limits, for example, the maximum upload file at a time: 5gb.
Perhaps there is also a limit on the number of files uploaded at a time.

Thank you for understanding.

Best Regards,
Anton

Browse all Zeroqode Plugins for Bubble
Banner_Last3