File Importer - S3 Error

Hello Everyone. I'm trying to use the Import Action inside a Relation Manager -> Header Action. I've defined in my ENV the FILAMENT_FILESYSTEM_DISK as S3 because I use FileUpload in other parts of the system and I need to upload it inside S3, and it works. When I try to import some file, it returns an error:
Error executing "GetObject" on "https://regalwings-public.s3.amazonaws.com//var/www/storage/app/livewire-tmp/vn1vKefW0zzLkUDq1QO5d12UgpC94D-metaZGF5cy5jc3Y%3D-.csv";
Error executing "GetObject" on "https://regalwings-public.s3.amazonaws.com//var/www/storage/app/livewire-tmp/vn1vKefW0zzLkUDq1QO5d12UgpC94D-metaZGF5cy5jc3Y%3D-.csv";
Upon observation, it's mounting a weird path. If I remove FILAMENT_FILESYSTEM_DISK from the env, it works like a charm. However, in that case, I need to specify ->disk(s3) in all my FileUploads, and it doesn't make sense. I would like to keep my TemporaryUploadedFile to Import in my local use S3 just for Pictures, etc.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server