FilamentF
Filamentโ€ข2y ago
Patrick Jean

Problems to upload file to S3

Hello Guys.

I'm trying to upload a file to S3 using Filament FileUpload component. It upload to S3 in a tmp folder (livewire-tmp) and when i hit "Save changes" in filament, its disappears from the tmp folder and write the filename to db (ex: ["01J3RFMJWTXCF4B7VYKP098M1Y.webp", "01J3RFR9CNAX9SSX3ECHGX9K6Y.webp"].) and the UploadFile component updates and not show the uploaded images.

Searching inside the S3 Bucket, i do not have any file inside :/

Someone pass through this problem yet? Thanks for any help! ๐Ÿ™‚
Solution
S3 requires setting the visibilty() to private to upload.
Was this page helpful?