android - UNIQUE constraint failed: ParseObjects.className, ParseObjects.objectId (code 2067) -
i error while i'm calling pininbackground on custom object, id random positive integer (not objectid):
parsequery<remoteobject> syncquery = remoteobject.getquery().whereequalto("id", id).include("others"); remoteobject = syncquery.getfirst(); remoteobject.pininbackground();
what cause of error, objectid internal , i'm not setting/changing it, how can not unique?
caused by: android.database.sqlite.sqliteconstraintexception: unique constraint failed: parseobjects.classname, parseobjects.objectid (code 2067) @ android.database.sqlite.sqliteconnection.nativeexecuteforchangedrowcount(native method) @ android.database.sqlite.sqliteconnection.executeforchangedrowcount(sqliteconnection.java:734) @ android.database.sqlite.sqlitesession.executeforchangedrowcount(sqlitesession.java:754) @ android.database.sqlite.sqlitestatement.executeupdatedelete(sqlitestatement.java:64) @ android.database.sqlite.sqlitedatabase.updatewithonconflict(sqlitedatabase.java:1577) @ android.database.sqlite.sqlitedatabase.update(sqlitedatabase.java:1523) @ com.parse.parsesqlitedatabase$22.then(parsesqlitedatabase.java:318) @ com.parse.parsesqlitedatabase$22.then(parsesqlitedatabase.java:315) @ bolts.task$14.run(task.java:872) @ bolts.boltsexecutors$immediateexecutor.execute(boltsexecutors.java:105) @ bolts.task.completeimmediately(task.java:863) @ bolts.task.continuewith(task.java:661) @ bolts.task.continuewith(task.java:672) @ bolts.task$12.then(task.java:766) @ bolts.task$12.then(task.java:754) @ bolts.task$15.run(task.java:917)
Comments
Post a Comment