Intermittend InvalidSignature error when retrieving object from S3 Object Lambda accesspoint in lambda@edge function
We have created a lambda@edge function (nodejs 14 with default aws sdk) that retrieves an object from an S3 Object Lambda accesspoint. Most of the time everything works correctly, but from one moment to the other the lambda@edge function fails the call to S3 with an "InvalidSignature" error.
We create the S3 client once during the lambda@edge during the startup of the lambda@edge function and only do an s3.getObject call to the S3 Object Lambda accesspoint and return the results.
Any idea what could be the cause?
For this type of problem, I'd strongly recommend creating a support case. The support team is able to bring in the Lambda@Edge service team, look at the logs, correlate the time/date of when you're seeing errors and work with you to fix the issue.
Relevant questions
Conventions for Drawing Arrows in Architectural Diagrams
Accepted AnswerData traffic price
Accepted Answerasked 2 years agoS3 Object Lambda Function v4signature error
asked 3 months agoA lambda function to delete old archive files in s3 bucket
asked 3 years agoupdate security custom header
asked 2 months agoAdding custom header to S3
asked 5 months agoIntermittend InvalidSignature error when retrieving object from S3 Object Lambda accesspoint in lambda@edge function
asked 2 months agoCost Explorer for Lambda@Edge
Accepted Answerasked a year agoCloudFront does not seem to invoke lambda@edge function
asked 3 months agoS3 object and lambda function in step machine with the asynchronous express workflows
Accepted Answerasked 4 months ago