I am trying to get my assets stored in S3 by calling a API implemented as Lambda function using Bref Serverless Package. I am using Laravel.
A call to Storage::directories();
give the following error.
message: Error executing "ListObjects" on "https://calmed-storage.s3.us-west-2.amazonaws.com/?prefix=&delimiter=%2F&encoding-type=url"; AWS HTTP error: Client error:
GET https://mys3-storage.s3.us-west-2.amazonaws.com/?prefix=&delimiter=%2F&encoding-type=url
resulted in a403 Forbidden
response: The AWS Access Key Id you provided (truncated...) InvalidAccessKeyId (client): The AWS Access Key Id you provided does not exist in our records. - InvalidAccessKeyIdThe AWS Access Key Id you provided does not exist in our records.