I am getting this error when using s3 destination ...
# ask-ai
t
I am getting this error when using s3 destination "2025-09-01 200420 destination INFO main i.a.c.l.w.WriteOperation$execute$1(invokeSuspend):68 Destination failed with stream results {Descriptor(namespace=null, name=name)=StreamProcessingFailed(streamException=aws.sdk.kotlin.services.s3.model.S3Exception: Failed to parse response as restXml error, Request ID: {req_id}, Extended request ID: {req_id})}'
k
This error indicates the S3 destination failed while parsing an S3 REST-XML error response from the S3 service. Similar failures have been reported when: - Credentials/permissions are invalid or missing (403s like “Access Key Id … does not exist” or “not authorized to perform s3:ListBucket”). Verify IAM/IRSA and bucket policy, and ensure the pod is assuming the intended role consistently (no fallback to node role) ([Invalid Access Key](https://discuss.airbyte.io/t/1669), [IRSA intermittently falling back](https://github.com/airbytehq/airbyte/issues/53652)). - Region/config don’t match the bucket, causing “authorization header is malformed; region ‘X’ is wrong; expecting ‘Y’.” Ensure the S3 client region matches the bucket’s region and any custom endpoint/minio settings (this surfaced after certain Helm upgrades) ([Wrong region/malformed auth header](https://github.com/airbytehq/airbyte/issues/48407)). - XML parsing failures from S3/minio responses (seen with multipart uploads or newer destination-s3 versions vs. MinIO). Users observed 0.6.0 and 1.4.0 working, while 1.5.0+ failed with SDK/system call issues; try a known-good connector version or validate MinIO compatibility/settings ([HttpException/System call failure on 1.5.0+](https://github.com/airbytehq/airbyte/issues/55254), [Failed to parse XML document](https://discuss.airbyte.io/t/113)). - Insufficient S3 permissions (need at least GET, PUT, DELETE on the bucket/prefix) ([permissions note](https://discuss.airbyte.io/t/113)). Recommended checks: - Confirm the destination-s3 connector version; if you’re on ≥1.5.0 and using MinIO/S3-compatible storage, test with 1.4.0 to isolate the issue ([version regression report](https://github.com/airbytehq/airbyte/issues/55254)). - Verify AWS region, endpoint, and bucket region alignment; re-run after fixing any mismatch ([region mismatch error](https://github.com/airbytehq/airbyte/issues/48407)). - Validate credentials/assumed role and permissions; for EKS, ensure IRSA is used and not intermittently falling back to node role ([IRSA fallback 403 ListBucket](https://github.com/airbytehq/airbyte/issues/53652)). - Ensure S3 IAM policy grants s3:PutObject, s3:GetObject, s3:DeleteObject, and s3:ListBucket on the target bucket/prefix ([permission requirements](https://discuss.airbyte.io/t/113)). If you share your connector version, S3 provider (AWS vs. MinIO/compatible), region, and how credentials are supplied (keys vs. IRSA), I can map this to the closest known issue above.