Problem
You are trying to create a job for copying content from S3 to Cloud Storage destination, and observe the following error:
Failed to obtain the location of the source S3 bucket. Additional details: Access Denied
Environment
The issue can be observed when trying to copy content from S3 to Cloud Storage buckets.
Solution
There are 2 possible resolutions to this issue:
- Verify that the AWS IAM user has the necessary permissions provided. Check the Authenticate using federated identity public documentation for more details.
- Verify that the Amazon Resource Name is not malformed.
Cause
The issue most commonly occurs because of insufficient permissions for the AWS IAM user for which the public document is shared in the previous section.
An alternative cause could be that the ARN is malformed. The solution is to ensure that the ARN does not have any extra characters or spaces apart from the specified parameters. Normally, any extra lines or spaces in this file will cause the error mentioned above.