I try to upload an image to ACS.Photos. But I'm getting the message "Failed to upload photo: Stack level too deep"
This is my code:
Ti.App.acs.Users.login({ login: 'username', password: '********' }, function (login) { if (login.success) { Ti.App.acs.Photos.create({ photo: image }, function (e) { alert(e); if (e.success) { var file = e.photos[0]; console.log(file); //event.fireEvent('upload.image.success', { // data: file //}); } else { //sendToObject.fireEvent('upload.image.error', {error: e.error}); } }); } });