I am using Rest API resource to upload a video to Cloudflare. I have been able to upload files up to 25MB in size, but 30MB files cause the error Result exceeded maximum size of 100 MB. I see the video does upload successfully to Cloudflare, but I'm not able to get the response object with the associated metadata because of this error.
Screenshot below, any help is appreciated, thanks in advance!
Which Cloudflare endpoint are you hitting? I'm curious what exactly the response looks like, can you share an example based on the smaller uploads that run successfully? Is the response size for those multiple times greater than the request?
After doing some digging it looks like this may be a separate issue, could you try finding the request in the network tab of your browser console and post a screenshot of what you're seeing in the "Preview" of the request with all the fields expanded?
I'm experiencing the same error message. In my situation I'm trying to receive a file from Google Cloud Storage (the file is ~50MB). This request used to work ~10 days ago and I only noticed today that it's not working anymore. I haven't changed or accessed retool in that time.
Here some more context for PM/devs
I used to load the same amount of data from bigquery which worked. Overall it was slower than the file retrieval. In my app I'm doing filtering and would have to run the query again. To save roundtrip time and data charges I'm doing the filtering on the client side by using javascript to iterate over the file. This is fast and works well for easy filtering. In an ideal world I can compress the data on the cloud storage side, download it in the browser and uncompress it there. That should further reduce 50MB to 3MB which speeds up the download even further. Only issue was that I didn't find an uncompress library for gzip or zip in javascript that I could use.
Hey @alien, sorry about the late reply but thanks for flagging this!
Did some digging with the team and as for 2.106.0 (which released late Tuesday of last week) we started more strictly enforcing the 100MB response limit for queries in order to help improve the stability of our backend resource connectors.
The encoding of the file can in some case increase the response size, but the fact that the file is only 50MB and you're seeing an estimatedResponseSizeBytes of only 65 does seem a bit odd though.
Are you using the "Read a file from GCS" action or the "Generate a signed url" action to get your file?
We were able to reproduce the behavior with GCS and the team is looking into a fix to be published after the holiday which we can update you all on here. Do you know the approximate size of the return value on your MongoDB query? Was it similarly large (e.g. ~50MB)?