Error 400 with putBucketIntelligentTieringConfiguration: "The XML you provided was not well-formed" #5915
Labels
bug
This issue is a bug.
p2
This is a standard priority issue
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.
Describe the bug
I am trying to configure Intelligent Tiering for an S3 bucket using the AWS SDK for Java (software.amazon.awssdk s3 version 2.30.27).
However, I receive a 400 error with the message:
"The XML you provided was not well-formed or did not validate against our published schema."
Regression Issue
Expected Behavior
The Intelligent Tiering configuration should be successfully applied to the bucket.
Current Behavior
The XML you provided was not well-formed or did not validate against our published schema (Service: S3, Status Code: 400, Request ID: SVDDWG3HVH2HQX6C, Extended Request ID: tzlCI6Dj7DXq8XzdB1zKbql3el1XqaA52dKOPnoo9YMEoFzvt7sKER4zYmsLjvapOqUBUiBwQUw=) (SDK Attempt Count: 1)
Reproduction Steps
Create an S3 client using S3Client.create().
Call the putBucketIntelligentTieringConfiguration method with the following configuration:
Possible Solution
No response
Additional Information/Context
The bucket exists, and IAM permissions have been verified.
Debugging details:
I extracted the generated XML request, and it appears as follows:
AWS Java SDK version used
2.30.27
JDK version used
22
Operating System and version
MacOS Sequoia 15.3
The text was updated successfully, but these errors were encountered: