0

I have a script task in SSIS 2008 which should upload data from S3 Bucket. Now, I faced an issue and receive such error:

GetRegionCode - unable to get bucket location, using default endpoint: s3.us-east-1.amazonaws.com System.Exception: Request was redirected, new location is , new region is eu-west-1

I checked C# Code and see that we have specified correct location:

enter image description here

    {
  try {
    using(AmazonS3Client s3Client = new AmazonS3Client(
              accessKey, secretKey, RegionEndpoint.EUWest1)) {
      ListObjectsRequest request = new ListObjectsRequest();
      request.BucketName = bucketName;
Amira Bedhiafi
  • 8,088
  • 6
  • 24
  • 60
  • Please don't post your code as an image. – Amira Bedhiafi Aug 01 '23 at 15:34
  • I attached the code here: { try { using (AmazonS3Client s3Client = new AmazonS3Client(accessKey, secretKey, RegionEndpoint.EUWest1)) { ListObjectsRequest request = new ListObjectsRequest(); request.BucketName = bucketName; – Kris Markevich Aug 03 '23 at 10:59

0 Answers0