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

Example App: Error while uploading invalid schema #1

Closed
lovellfelix opened this issue Apr 8, 2013 · 1 comment
Closed

Example App: Error while uploading invalid schema #1

lovellfelix opened this issue Apr 8, 2013 · 1 comment

Comments

@lovellfelix
Copy link

Error: The XML you provided was not well formed or did not validate against our published schema.

Not sure where to look for the upload schema, but I think it's set as

./s3-put -T ./test2 -k -s ./ /mybucketname

and it should be:

./s3-put -T ./test2 -k -s ./ /mybucketname/myfile

@jgilfelt
Copy link
Owner

jgilfelt commented Apr 8, 2013

You will get this error when selecting a media item from the gallery app rather than from a file provider. The path returned in the URI is not a local file path so the AmazonHttpClient will complain.

I don't use the media store projection to get the local path because I didn't wan't to include a bunch of code not related to the library in the example app, but I guess I will add it.

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