I understand that this is a beta feature, but I am getting nowhere with it. I can create the asset, but when I try to upload the data, I don't get anything useful. This is what I'm doing (javascript):

this.uploadImageData = function(asset, imageData) {
var options = {
method : 'POST',
endpoint : 'assets/' + asset.uuid + '/data',
data : imageData // <-- read in from a file using FileReader.readAsBinaryString()
}

console.log('preparing to upload image data');
console.log(options);
var self = this;
this.client.request(options, function(error, response) {
self.uploadingImageData(error, response);
});
}

This is what I see in my browser's javascript console:

calling: POST https://api.usergrid.com/denverdachshunds/sandbox/assets/b9ea6f8a-6878-11e3…cess_token=YWMttCEybmh4EeOYy7Oa2hTfDwAAAUMto6yM-KPA4xSVFJLWJCLdZz85HUNdAEo apigee.js:2975
curl -X POST https://api.usergrid.com/denverdachshunds/sandbox/assets/b9ea6f8a-6878-11e3…cess_token=YWMttCEybmh4EeOYy7Oa2hTfDwAAAUMto6yM-KPA4xSVFJLWJCLdZz85HUNdAEo -d '{}' apigee.js:2975
POST https://api.usergrid.com/denverdachshunds/sandbox/assets/b9ea6f8a-6878-11e3…cess_token=YWMttCEybmh4EeOYy7Oa2hTfDwAAAUMto6yM-KPA4xSVFJLWJCLdZz85HUNdAEo 500 (Internal Server Error) api.usergrid.com/denverdachshunds/sandbox/assets/b9ea6f8a-6878-11e3-90f8-cb…ss_token=YWMttCEybmh4EeOYy7Oa2hTfDwAAAUMto6yM-KPA4xSVFJLWJCLdZz85HUNdAEo:1
success (time: 0.36): POST https://api.usergrid.com/denverdachshunds/sandbox/assets/b9ea6f8a-6878-11e3…cess_token=YWMttCEybmh4EeOYy7Oa2hTfDwAAAUMto6yM-KPA4xSVFJLWJCLdZz85HUNdAEo apigee.js:2975
Error (500)(web_application): undefined apigee.js:2975
uploading image data apigee.js:2975
Object {error: "web_application", timestamp: 1387435347814, duration: 0, exception: "javax.ws.rs.WebApplicationException"} apigee.js:2975

I could really use someone's help in figuring out what is going on.

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.