Closed beer-inder closed 4 years ago
Solution: On Heroku CLI, config var need to be set for AWS_SECRET_KEY and AWS_SECRET_ACCESS_KEY,
heroku config:set AWS_ACCESS_KEY_ID='AKILA36G4XXTE' heroku config:set AWS_SECRET_ACCESS_KEY='5f4Na3J9HJwyV2jlf8PrQBqk0lhHhb'
Problem with above commad is value for vars should not be in quotes, it should be
heroku config:set AWS_ACCESS_KEY_ID=AKILA36G4XXTE heroku config:set AWS_SECRET_ACCESS_KEY=5f4Na3J9HJwyV2jlf8PrQBqk0lhHhb
After successfully deploying the app on heroku, trying to upload image using AWS S3, but its giving error. Screenshot for the issue is attached.