memoet icon indicating copy to clipboard operation
memoet copied to clipboard

Bug: s3 Image upload error

Open Daniel-CS-Team opened this issue 3 years ago • 1 comments

I am sorry, to report the second bug just in one day.

Anyways, when trying to Upload an image for a note, this error is returned:

{"error":{"errors":["Required key: :secret_access_key is nil in config!"],"message":"Couldn't upload file","status":400}}

Of course, I double checked the AWS_SECRET_ACCESS_KEY, but it is configured correctly.

I hope you can resolve this easily. Please stay positive and continue your great work here.

Daniel-CS-Team avatar Sep 08 '22 14:09 Daniel-CS-Team

Are you setting the env on ECS task definition? I’m trying on memoet.fly.io and the upload still works. No idea about where it could go wrong except the env is not there.

manhtai avatar Sep 08 '22 15:09 manhtai