-2

i have a request to copy files from AWS S3 bucket to GCS storage with the following command:

gsutil -m cp -r ${sourceURL} ${destinationURL}

howver, i encountered an error

BadRequestException: 400 None

and the error message followed is

CommandException: 1 file/object could not be transferred

Can anyone give me some ideas on how to solve it? i check my aws/gs configuration, they are all right.

James Z
  • 12,209
  • 10
  • 24
  • 44
Alice_Bear
  • 11
  • 1

1 Answers1

0

To use the gsutil tool on S3 buckets check that the S3 credentials in the boto file for gsutil are correct and also try using rsync instead of cp.

If you continue having issues you might wanna use the Storage Transfer Service.

mgoya
  • 512
  • 3
  • 12