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

MalformedXML error #4

Open
jaydeepw opened this issue May 25, 2014 · 6 comments
Open

MalformedXML error #4

jaydeepw opened this issue May 25, 2014 · 6 comments

Comments

@jaydeepw
Copy link

When I try to upload a file using simpl3r, I get this exception.
I tried a quick google search to fix, but didnt work.

05-25 21:12:31.940: W/System.err(21275): Status Code: 400, AWS Service: Amazon S3, AWS Request ID: 25950685FA4A7BA0, AWS Error Code: MalformedXML, AWS Error Message: The XML you provided was not well-formed or did not validate against our published schema, S3 Extended Request ID: lFNEIr7bNf2wmQvoG1wztfVqTCHgRTfsXL8GQAXLWwEs7ZqMdaLdRwcXVfmz7iPm
05-25 21:12:31.940: W/System.err(21275): at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(Unknown Source)
05-25 21:12:31.940: W/System.err(21275): at com.amazonaws.http.AmazonHttpClient.executeHelper(Unknown Source)
05-25 21:12:31.940: W/System.err(21275): at com.amazonaws.http.AmazonHttpClient.execute(Unknown Source)
05-25 21:12:31.940: W/System.err(21275): at com.amazonaws.services.s3.AmazonS3Client.invoke(Unknown Source)
05-25 21:12:31.940: W/System.err(21275): at com.amazonaws.services.s3.AmazonS3Client.completeMultipartUpload(Unknown Source)
05-25 21:12:31.940: W/System.err(21275): at com.readystatesoftware.simpl3r.Uploader.start(Uploader.java:180)
05-25 21:12:31.940: W/System.err(21275): at com.readystatesoftware.simpl3r.example.UploadService.onHandleIntent(UploadService.java:105)
05-25 21:12:31.940: W/System.err(21275): at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
05-25 21:12:31.940: W/System.err(21275): at android.os.Handler.dispatchMessage(Handler.java:102)
05-25 21:12:31.940: W/System.err(21275): at android.os.Looper.loop(Looper.java:136)
05-25 21:12:31.940: W/System.err(21275): at android.os.HandlerThread.run(HandlerThread.java:61)

@hboregio
Copy link

hboregio commented Sep 5, 2014

Hey, did you ever find a fix for this error? I'm getting the same thing.

@jaydeepw
Copy link
Author

jaydeepw commented Sep 6, 2014

Nop. Unfortunaltely I did not.

@hboregio
Copy link

hboregio commented Sep 6, 2014

Hey jaydeepw, I actually got it working by using the example code located in the examples folder. I think what was missing from the code was the fact that you have to md5 the filePath before using it as the s3ObjectKey.

@jaydeepw
Copy link
Author

jaydeepw commented Sep 7, 2014

Alright. Thanks for posting it here. I will try it soon.
In the meanwhile, if you can, please update the doc appropriately.

@achinverma
Copy link

hi i am getting the same issue , can you you explain a bit more how to solve this error
Status Code: 400, AWS Service: Amazon S3, AWS Request ID: 8E3BB31B5AF13F0D, AWS Error Code: MalformedXML, AWS Error Message:

@bpr10
Copy link

bpr10 commented Mar 19, 2015

I am using md5 to hash the filepath to use as the key. Still it shows the same issue. Any ideas ?

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

4 participants