-
Notifications
You must be signed in to change notification settings - Fork 670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multipart PUT - XML you provided was not well-formed - HCP for Cloud Scale #1731
Comments
It also does not seem like the xmlns should be within the part section based on Amazon S3 docs: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html#API_CompleteMultipartUpload_RequestSyntax |
However this should work xmlns has nothing to do with schema, almost all servers including AWS S3 work perfectly fine here.
HCP must understand that clients can choose to implement this either way, there are no specific rules here to follow. |
Yea i agree that it is most likely just some strict XML checking from HCP... |
Hi,
I have an issue when using Minio-go against HCP for Cloud Scale.
Here's how i put my object in my tests.
The resulting error is
The XML you provided was not well-formed or did not validate against our published schema.
.I think the issue might be that xmlns is included in
CompleteMultipartUpload
I also tried testing using aws-sdk-go which works just fine.
Here is the differences between the two:
AWS SDK GO:
MINIO-GO:
In an attempt to try and get the requests closer to how aws-sdk-go i tried removing
http://s3.amazonaws.com/doc/2006-03-01/
from https://github.com/minio/minio-go/blob/master/api-s3-datatypes.go#L319 - After doing this it seems to be working?The text was updated successfully, but these errors were encountered: