Back

Explore Courses Blog Tutorials Interview Questions
0 votes
4 views
in AWS by (19.1k points)

I have error The difference between the request time and the current time is too large when call method amazons3.ListObjects

ListObjectsRequest request = new ListObjectsRequest() {

    BucketName = BucketName, Prefix = fullKey 

}; 

using (ListObjectsResponse response = s3Client.ListObjects(request))

{

    bool result = response.S3Objects.Count > 0;

    return result;

}

What it could be?

1 Answer

0 votes
by (44.4k points)

Your local system time is out of sync with the current time, so synchronizing or setting up your system clock will solve the issue.

Browse Categories

...