Skip to content
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 S3 upload attempts to put the XML body into the query string #659

Open
oconnore opened this issue Sep 19, 2023 · 1 comment
Open

Comments

@oconnore
Copy link

Following the documentation from here: https://juliacloud.github.io/AWS.jl/stable/services/s3.html#Main.S3.complete_multipart_upload-Tuple{Any,%20Any,%20Any}

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

"CompleteMultipartUpload": The container for the multipart upload request information.
caused by: HTTP.Exceptions.StatusError(400, "POST", "/6kato/eric?CompleteMultipartUpload=ETag=cd0db23c0395b161f6cdf289e6903930&PartNumber=1&uploadId=ACSfLHapTVFOkS8Qsaijf9GcdktdjsRlE8e_2Kdf4AgcezdlVwevzbFch5Lel0ed61Rup1PtPNG1tf3dPEC99JXLdHbz3LAOSqrCgdhn5hym36qAddROdwQr4XjqAN-J9my-KtS-VNrCNryL6MhGXKpKLEwQF5U9wRBmhdeEz9dzT8XtF6gKgmHocsc39N2QmdvM40FadoMcacPQLUgMJFHj62Y93kaL6KVIe3O8iajtPEAjHYbnh1eF7bGjjwDnyZTjUSianSUDWhHBr2aD8lLLF_7Q_oORt0rab3FwV5ndOye16Wu4Uslor312cxoBANwv5GWrNtLTFjUJKEn79nk", HTTP.Messages.Response:
"""
HTTP/1.1 400 Bad Request
Date: Tue, 19 Sep 2023 21:12:14 GMT
Content-Type: application/xml
Content-Length: 187
Connection: keep-alive
Vary: Accept-Encoding
Server: cloudflare
CF-RAY: 8094d3616c4924fc-SJC
@ararslan
Copy link
Member

ararslan commented Jul 3, 2024

FYI, I'd recommend using AWSS3.jl for this, which provides some more convenient wrappers for multipart uploads that are also exposed to S3Path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants