Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

276
Vistas
aws cli signature version 4

I want to move all my data from Bucket1 of account A to Bucket2 of account B.

For this:

  1. I downloaded AWS CLI for Windows.

  2. Entered IAM credentials using command aws configure (these credentials are from account B)

  3. Run command to sync buckets: aws s3 sync s3://Bucket1 s3://Bucket2

    I received following error:

fatal error: An error occured (InvalidRequest) when calling the ListObject operation: You are attempting to operate on a bucket in a region that requires Signature Version 4. You can fix this issue by explicitly providing the correct region location using the --region argument, the AWS_DEFAULT_REGION environment variable, or the region variable in the AWS CLI configuration file. You can get the bucket's location by running "aws s3api get-bucket-location --bucket BUCKET".

How to tackle this error?

aws --version
aws-cli/1.11.61 Python/2.7.9 windows/8 botocore/1.5.24
about 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

My S3 url was like :https://console.aws.amazon.com/s3/home?region=us-east-1 so I supposed that us-east-1 is my region but actually it was not!

I used AWS command to find Bucket2 region and it told me a different region.

Then I used this command aws s3 sync s3://Bucket1 s3://Bucket2 --region Asia Pacific (Mumbai) and everything worked fine!

about 4 years ago · Santiago Trujillo Denunciar

0

Look for the correct region of the bucket (see attached image).
Try the command below by specifying the correct region:

aws s3 ls --region us-west-2

enter image description here

S3 is global - don't let that mislead you.

about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda