Hi, I am trying to set up s3 as the destination, b...
# ask-community-for-troubleshooting
l
Hi, I am trying to set up s3 as the destination, but I'm getting the below error -
Copy code
The connection tests failed.
Could not connect to the S3 bucket with the provided configuration. Failed to parse XML document with handler class com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser$ListBucketHandler
I see a test connection file created in s3 which says "check content" - _airbyte_connection_test_51a17e652bc74d5881f6535f8a90be1c I have created a user specific to Airbyte with the below perms and able to access that s3 bucket from my local using python boto3 -
Copy code
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:*",
      "Resource": [
        "arn:aws:s3:::airbyte-poc/*",
        "arn:aws:s3:::airbyte-poc"
      ]
    }
  ]
}
Would anyone know this issue?
m
Please don’t double-post in multiple channels.
Does the user created for the S3 operation has the correct permissions? https://docs.airbyte.com/integrations/destinations/s3
l
Yes, I used the policy share in the S3-Airbyte documentation - Below is the perms to the user -
Copy code
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:*",
      "Resource": [
        "arn:aws:s3:::airbyte-poc/*",
        "arn:aws:s3:::airbyte-poc"
      ]
    }
  ]
}
background - spun airbyte docker in my local mac and I am trying to set the destination connection to s3 on my personal AWS account. I created a new airbyte user, and even tried to give full permission(admin), still, I am seeing the same error with a connection test file writing to the s3 bucket - _airbyte_connection_test_f6cae4f441a14901a5937a45a7b9758c And, the file just says - "check-content"
It is fixed now.