0 votes
1 view
in AWS by (19.2k 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.6k 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.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...