Upload image to AWS s3 storage from Laravel showed Heroku Server 500 Error

  amazon-s3, heroku, laravel, php

I’ve already added the

AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION
AWS_BUCKET

in Heroku
and the according value to Heroku Config Vars.

Then,I uploaded image to ‘/images’ folder on s3.

$path = $request->file('image')->store('/images', 's3');

After that, Heroku server showed the following error´╝Ü

server error 500 title
server error 500 specific

Is there anyone can help me explain what’s going on? Thanks a lots. I’m trying figure out…

Source: Laravel

Leave a Reply