How to find orphaned images / files in S3

I find images that have been uploaded to S3 from upload action that has been left behind when a thing (record) has been deleted or from an upload which did not ultimately result in a thing being created when a user abandoned the action to create a thing.

How do I search for those orphaned files so that I can delete them through an API workflow on a regular basis?

1 Like


I had virtually the same question but somehow overlooked this thread before posting my question. I still haven’t come up with a viable way to “garbage collect” orphaned files.

I’m building an image sharing app, and I really need to feel I have a handle on file management and keeping my Bubble storage to a minimum.

1 Like

For anyone stumbling upon this thread, I did figure out a workable solution…