Start a new topic

Delete does not delete

Hi,


I would like to delete entities but it does not work :

setupDao.delete(setupId, new KinveyDeleteCallback() {
@Override
public void onSuccess(KinveyDeleteResponse kinveyDeleteResponse) {
...
}

@Override
public void onFailure(Throwable throwable) {
...

}
});


onSuccess is called and kinveyDeleteResponse contains "count=1" but the entity is not deleted.


Could you verify if there is no problem with the library ?


Thanks.




I apologize for the inconvenience. This was a problem in my code which creates the entity after we remove it.

For instance, I'm trying to delete the _id "55882d934b91436f2c051cb0" but it is still visible in the console and get requests.

fabreax:


count:1 is returned by the API itself, it is definitely deleting, can you let me know what you are trying to delete?


Thanks,

Login or Signup to post a comment