Search code examples
androidparse-platformacl

Can't delete ParseObject with owner account


I'm trying to delete a parse object with the following method:

object.deleteInBackground(new DeleteCallback() {
    @Override
    public void done(ParseException e) {
        if(e !=null) {
            Log.e("Parse: ",e.toString());
        }
    }
});

Console Output

E/Parse:: com.parse.ParseRequest$ParseRequestException: Object not found.

My object's ACL is public read and owner read & write and I am connected to the owner account.

The strange thing is that I actually can delete the object if it has public write ACL, but I only want the owner have the possibility to delete it.

Has anyone encountered similar issues ?


Solution

  • Okay, I've figured out that I did something else wrong with my user login which caused this error. Anyways thanks to anybody who tried to help me