AWS S3 with Filament Laravel
I need help resolving a bug in my configuration. I want my panel to store files on AWS S3 instead of saving files locally.
I already have the credentials and I managed to get the preview saved on my AWS S3, as it is being saved in the "livewire-tmp" folder.
Therefore, I think the problem is not with credentials but with some bad configuration on my part within the filament.
The error appears when I click save, see the message:
But when I access my AWS S3 bucket, I can see this file inside the livewire-tmp folder. (I attached a print)!
Link to the error flareapp:
https://flareapp.io/share/omwV9zZ5
Flare
Unable to check existence for: livewire-tmp/Lv9otp3WPg8ga2o3zJ3OFuErwjZxDy-metabG9nby1jb21wbGV0ZWQtMi5qcGcucG5n-.png - The error occurred at http://127.0.0.1:8000/artificial-intelligence/11/treinamentos/create
5 Replies
#I'll put the configuration snippets in the files here
~filesystem.php
~livewire.php
~.env
~ImageResource
~cors.php
Comments:
Bucket Access (Public)
Bucket Policy (It's empty)
CORS on AWS S3 (It is empty)
some help?
@myster did you get this resolved?
I think you need ->visibility('private') for an S3 FileUpload on a form https://discord.com/channels/883083792112300104/1271362801708961802
It ended up being object ownership causing the issue