Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HOW TO Loopback storage setup - AWS S3

I have tried to follow the docs to get started with loopback 3.x and aws.

Yet, no matter what. this is the response :

"error": { "statusCode": 400, "name": "AuthorizationHeaderMalformed", "message": "The authorization header is malformed; the Credential is mal-formed; expecting \"<YOUR-AKID>/YYYYMMDD/REGION/SERVICE/aws4_request\".", "code": "AuthorizationHeaderMalformed" } }

I have found this But i have no idea what is going on there.

have someone solved this issue ?

like image 844
Itamar Avatar asked Dec 10 '25 11:12

Itamar


1 Answers

I think you have the key and the keyId in reverse way

AWS_ACCESS_KEY is the equivalent of the keyId and AWS_SECRET_KEY the key.

like image 84
Gabriel Avatar answered Dec 12 '25 08:12

Gabriel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!