I’m encountering an issue with the Retool app when trying to upload a .png file larger than 1MB using the Google Cloud Storage query. I receive the following error:
Although I've read that the upload limit is 40MB, I’m receiving an error for a file that is only 1MB. Is there a specific limitation or configuration issue that might be causing this?
Note: I am using the file picker to upload the file.
Docs say 40 The File Input component for Retool Apps | Retool Docs and that's been my experince. Just uploaded a bunch of 5-10MB files. I tend to use the dropzone, but I don't know why it would be different. Are you trying to parse the data or do something else on load that might be triggering the notification?
I am currently using GCS for uploading. I have a query regarding dynamically generated filenames and passing image data to the GCS resource query. The images are uploaded using a file picker. The upload works successfully for files smaller than 1 MB, but I encounter an error when uploading files larger than 1 MB.
Ah I think I know what's going on. Are you trying to upload from within a table column? That particular feature does limit your file attachments to being no larger than 1MB in size. I'll reach out to the team to see what the reasoning is for that limit and if it can be increased.
That said, you can pretty easily get around this by adding a separate component for handling file inputs, whether it be the File Input or File Dropzone. By reading the table's selectedRow attribute when uploading, you can effectively reuse one file input component for every single row of your table.
Let us know if you have any follow-up questions about this!