Have a weird issue where the :savedtoS3 url that can be returned for images saved to the database is private and when i visit in another tab it shows an Access Denied XML document.
I don’t have any privacy rules conflicting it.
The use case is that someone saves a Pexels image from the API in our app, it then saves the Pexels URL then I have a workflow to overwrite that url with the Bubble S3 url of the stored file (I need that file location to pass to the Twitter API, but thats another story).
Nope nothing - this was my thought as well because as you know when you upload an image or file with an uploader element, you can specify if its private/attached to anything but when you just save using a standard action like I’m doing to save from the Pexels API Bubble gives you no control over that.
Oh wait, upon closer inspection, that looks like a URL-encoded fragment of the Imgix URL. Delete everything after ”.jpeg” and see if the image comes up. If it does, then you have to re-examine how you’re retrieving the actual AWS S3 URL.
Yep appears in file manager with the S3 url, if i visit in another tab (same cache) works fine but if i open in an incognito it’s obviously private as it’s access denied.
That said, I seem to recall having encountered what you describe on rare occasion, but I could never reproduce it. If you can reliably reproduce the behavior, I’d definitely suggest submitting a bug report.
But it does seem to indicate that the issue is with AWS permissions and not Bubble, so if the Bubble team can reproduce it, they should be able to resolve it.