BackendlessFault : Cannot update object without any properties: CREATOR'

Hi Backendless,

I am new in Backendless.

I am trying to update an Artwork Object if it was marked as favorite but I receive a BackendlessFault :
BackendlessFault{ code: ‘1001’, message: ‘Cannot update object without any properties: CREATOR’ }

Before it was working perfectly but I don’t know what changed.

Artwork class :

public class Artwork {
private String objectId;
private Integer favorites;
/* Other attributes */


public Artwork()
{}
public void incrementFavorites() {
        favorites++;
        saveAsync();
    }
    public void decrementFavorites() {
        favorites--;
        saveAsync();
    }


public void saveAsync() {
        saveAsync(null);
    }
public void saveAsync(AsyncCallback<Artwork> callback) {
        Backendless.Data.of(Artwork.class).save(this, callback);
    }

Here is how I update :

if(isChecked()){
     artwork.incrementFavorites();
}
else {
   artwork.decrementFavorites();
}

Backendless version used :

compile 'com.backendless:backendless:3.0.11'

Hi Simo,

Perhabs you try to update ‘CREATOR’ entity in some part of code?

Regards,

Denys

Thank you Denys for replying,

What ‘CREATOR’ entity ? The only attribute I try to change is ‘favorites’ in Artwork.

Could you please provide your applicationId?