Unable to transfer artifacts due to AmazonS3Exception: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'
Problem
You are unable do upload, copy or download artifacts due to Tasks for AWS encountering an AmazonS3Exception: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'
.
Solution
Despite the S3 bucket namespace being global, the Amazon S3 Object task uses regional API endpoints and thus requires the selected region to match the one where the bucket is actually located in.
You need to adjust the selected region accordingly:
Identify the bucket's actual location, which is denoted as the expected one in the error message
('us-west-2' in this example)Adjust the selected region in the Amazon S3 Object task configuration to match the bucket's actual location
Related articles
Amazon Web Services™, AWS™ and the “Powered by Amazon Web Services” logo are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.
Utoolity® is a registered trademark of Utoolity GmbH.
© 2024 Utoolity GmbH. All rights reserved.