-
Notifications
You must be signed in to change notification settings - Fork 2k
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
aws-nodejs-example | Multipart complete api | Throws 400 bad requests. #5328
Labels
Comments
on
|
Hi, are you willing to contribute to update the example? :) |
Yes, for sure. |
If you found what caused the problem yes feel free to update the aws-nodejs example 👍 |
Yes I did, it is the way we format data in complete api. |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Initial checklist
Link to runnable example
aws-nodejs-example
Steps to reproduce
MalformedXML: The XML you provided was not well-formed or did not validate against our published schema
Expected behavior
the call should go through and merge all the chunks as one file.
Actual behavior
Throws 400 bad requests.
MalformedXML: The XML you provided was not well-formed or did not validate against our published schema
the format that FE serialize generates and send to compalte is incorrect.
the FE send that data in a format that sdk does not support hence the example is not working
The example generate this JSON
should be this aq to aws documentation ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/CompleteMultipartUploadCommand/ )
The Parts:
it should be like
Also none of the error handling are working
In this error none of the if was trigger to make debugging easy.
The text was updated successfully, but these errors were encountered: