We have the ability for users to bulk download their media assets in our application. Everything works exactly as expected, until they attempt to download more than roughly 50 assets at a time.
We are using the download_zip_url helper function from the cloudinary library on Node JS to return a URL to the user which is then automatically downloaded. When the user selects too many assets, the request fails with the following error:
Cross-Origin Resource Sharing error: MissingAllowOriginHeader
When trying to manually fetch the URL, I get:
414 Request-URI Too Large
Our public IDs are quite length due to the hierarchy structure. An example public ID
We are locked into the folder/key structure that has been created. Are there any other alternatives to download a large number of images that do not involve storing an additional zip file on cloudinary? I suspect that this may still have issues as the URL to create those would also be quite lengthy.
Please sign in to leave a comment.