BUG: Issues with S3 Image Upload via imageInput Component on Mobile Devices

I am encountering an issue with S3 image upload functionality using the imageInput component, which seems to have started affecting multiple mobile apps across all devices in our team.

While the image upload works correctly within the editor on desktop, mobile uploads are resulting in a text file being uploaded to S3. The file contains a string like the following:

RNFetchBlob-file:///data/user/0/com.retool.retool/files/cachedImages/fae79c68-031b-4f99-bc1f-8c96f562f70c.jpg

Additionally, I have noticed that the value of the image input differs on mobile compared to the desktop. Is this behavior expected, or could this be related to the issue we're seeing? (See the screenshots)

@PlywoodPirate is this a new issue that came up in the past week or has this been like this for awhile?

The first uploads I have that are like this showed up on Feb 9th, 2025

We are having the same issue. Its only happening with end users with the most recent retool mobile update.

Same issue here with Google Cloud Storage Bucket.
On mobile : the files[0].uri value is a string containing the image path in cache.
On desktop : the classic blob structure remains.

Any solution to read this local image and upload it on S3 or similar? Can't figure it out neither.

I've tried a few things:

Converting the file to base64 on the device and then uploading but this seemed to be slow and crashy.

What I have noticed is uploading to retool storage still seems to work (only from the checkbox in the imageInput, a retool storage query has the same issue as uploading to any other cloud storage). So theoretically if there is a way to access the file key used when the file is uploaded to retool storage maybe you could pass it to a workflow and upload it from there? Not ideal but just spitballing.

Thanks for chiming in with these details, folks! Our on call eng team is investigating

We're in the process of shipping a fix :blush:

We shipped a bug fix. Please let us know if you're still experiencing unexpected behavior after updating the Retool app

Thanks @Tess. Seems to be working as it should on both iOS and Android.

1 Like