error message "obj.toJSON is not a function"
Hi,
I am unable to sync Zotero, the error message is "obj.toJSON is not a function" . The Report ID is 595871413 and the Debug ID is D814554620.
I am unable to sync Zotero, the error message is "obj.toJSON is not a function" . The Report ID is 595871413 and the Debug ID is D814554620.
https://forums.zotero.org/discussion/83607/obj-tojson-is-not-a-function
Last time the web library was totally in mess and I didn't want to risk my local library. But this time I want to share part of my library to other scholars, so I need to sync it. I tried " replace onlie library", and found my library finally synced sucesfully to the web library except this error message.
I've empted the trash in both local library and web library (manually deleted them), now the number of items in local library is 178394 while web library is 178447。Before sync there was only around 120000 items in the web library. It's almost there, but I can't solve this "obj.toJSON is not a function" .
I checked my web library, the items I edited in the local library were synced sucessfully but the new items I just added were not updated to the web library.
Should I try "replace onlie library" again?
If you check your database integrity from the Advanced → Files and Folders pane of the Zotero preferences, does it pass? What do you mean by that? Are you saying the app is unresponsive?
When you sync, you're getting a conflict resolution window, right? What are you choosing in that window?
You seem to have submitted that Debug ID in the middle of an active sync. You can use Help → Debug Output Logging → View Output to confirm that things are still happening. We'd only need a Debug ID once activity stopped.
return await Zotero.DB.columnQueryAsync('SELECT key FROM syncQueue WHERE libraryID=? AND syncObjectTypeID IN (SELECT syncObjectTypeID FROM syncObjectTypes WHERE name=?)', [1, 'item'])
When the conflict resolution window show, I choose "use the local version for all remaining conflicts".