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

Error: the XML you provided was not well-formed or did not validate against our published schema #44

Open
olalonde opened this issue Jul 28, 2016 · 4 comments

Comments

@olalonde
Copy link

olalonde commented Jul 28, 2016

I am occasionally seeing this message in my production logs:

error: Failed to complete the multipart upload on S3: {"message":"The XML you provided was not well-formed or did not validate against our published schema","code":"MalformedXML","region":null,"time":"2016-07-28T14:49:51.009Z","requestId":"8BC08EF7AA847920","extendedRequestId":"BKycEDqnBhWYNhksqCfIcrPJzHB3dpFR/vww3CqXRMTmkFKXT2si9ByKy7TlcsBkXDj3zLcpLCE=","statusCode":400,"retryable":false,"retryDelay":67.72877744943004}

Better formatted:

{ message: 'The XML you provided was not well-formed or did not validate against our published schema',
  code: 'MalformedXML',
  region: null,
  time: '2016-07-28T14:49:51.009Z',
  requestId: '8BC08EF7AA847920',
  extendedRequestId: 'BKycEDqnBhWYNhksqCfIcrPJzHB3dpFR/vww3CqXRMTmkFKXT2si9ByKy7TlcsBkXDj3zLcpLCE=',
  statusCode: 400,
  retryable: false,
  retryDelay: 67.72877744943004 }

Related? #18

It's really hard to pinpoint what the cause of this issue might be as I can't reproduce it reliably. I was wondering if anyone had experienced the same problem with s3-upload-stream.

@reeversedev
Copy link

I am having the same issue. Any success so far?

@robehickman
Copy link

I am getting this issue and it seems to be the result of an empty file.

@celiovasconcelos
Copy link

In 2020 same error here.

@nathanpeck
Copy link
Owner

@celiovasconcelos I no longer maintain this module. It's functionality has been added to the official AWS SDK some years ago, so all bug fixes and future features are part of the official AWS SDK. You should use this S3.upload() method instead: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#upload-property

Try that method and if you still see the same error open an issue on the official AWS SDK

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

5 participants