I am trying to upload images to S3 using laravel livewire file upload, everything works fine in development, but after deployment on staging or production, I still can upload some images but others ( mostly taken with Iphone ) are giving 422 error, I can upload them after cropping them. How can I solve this issue? I am using Heroku.enter image description here
Asked
Active
Viewed 777 times
0
-
Please provide enough code so others can better understand or reproduce the problem. – Community Sep 06 '21 at 15:40
1 Answers
0
Okay, I solved this by adding FILESYSTEM_DRIVER=s3 into config vars in productions.

Salar Houshvand
- 1
- 1
- 1