AccessDenied (Images disappear after a while)

Hi, I’m using option sets so that when a user picks one of the options, a preloaded pic appears in a certain filed.
For a mysterious reason, after a couple weeks, one of those images disappeared leaving the broken image symbol
Screenshot 2024-01-31 alle 23.20.03

This happened randomly a couple times. Does any one have a clue? Thanks in advance,
gl

Are you uploading the image through the editor, is it an image URL? Once you upload it it will show up in your file manager, is it being deleted later by accident?

Hi,
I upload the images from the admin settings (image below). They are regular .png. Once I upload an image, it does show in the file manager but, for the images that disappeared after a few weeks, they also disappeared from the file manager. I did not delete them by accident. A mystery!

An additional detail: If i click “see” on the broken image

Screenshot 2024-02-02 alle 00.09.39

I get the following error:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>QC0VYY6RT1DJDKBP</RequestId
<HostId>NPHYTUx2PLC/DS9pTbvcnqQCOhGrW3qLajUcHK0YGVmMXGzPsK+c+NItGB0uOOBGQZmSgJZmPiE=</HostId>
</Error>

Yea I think you should file a bug report so Bubble can look at your app specifically, they gotta have some secret logs to see what triggered it to be deleted. Just double check you don’t have any “Delete a file” actions deleting it.

I’ve seen people click on a file, grab the URL in their browser and save it in their database, but those would be expiring URLs after an hour or so but it doesn’t look like that is the case here.

It just happened again. After 12 days that I upload a pic, it became unaccessible. I’m going to open a ticket. Thanks

Very strange let me know what they find. One of the reasons I hate that all the storage is pooled into a giant bucket and we don’t have the ability to add our own S3 credentials/bucket

They could find the solution.

I had an image in an option set (let’s name it X.jpg) that is used for newly signup users as a placeholder for their profile pic.

A user can set his own image triggering a WF that deletes the previous file.

I thought that a “copy” of the standard image was assigned to each user (X1.jpg, X2.jpg) but I was wrong . Each user was displaying the same original file so, when one of them was replacing it with his own pic, he was actually deleting the image in the option set.

Thanks in any way for your support!

Yup there we go that makes sense

This topic was automatically closed after 14 days. New replies are no longer allowed.