"Cannot edit item" error when merging items

edited 5 days ago
(Report ID #1639904630)

I have a library built from a .bib import with many, many items with incomplete metadata. The fastest way I've found to reliably rectify this is to find the item on Google Scholar (or similar), use the browser extension to add the item to my library, and then merge the two items.

A few hours in, I noticed began getting a sync error, "Cannot edit item {item_id} in library {library_id}". Syncing of any additional changes made or items added after the error was very unreliable. The offending item wasn't immediately obvious because the item id in the error message corresponds to the item in trash. That item's id is found further down in the error report. I'm able to remove the error by putting the merged item in trash, restoring the original, and then emptying the trash. If I try to re-add/re-merge the item, the error repeats.

Sometimes I can get away with adding a PDF of the problematic item, letting Zotero retrieve metadata, and then merge, but this only works some of the time. Same with importing bibtex from the clipboard. Adding a PDF to the original/incomplete version in my library works fine. I've also tried adding a bunch of new items without merging and then going back to merge single items later, but the issue persists. The items that cause the error will always cause the error.

This is happening ever 3-5 items or so. With a few hundred more items to get through, it's making the process pretty excruciating.

Edit: Should also add that I've tried completely removing my Zotero installation and reinstalling with both the app and the user/profile files & storage in new locations. Anything that synced before the error will re-sync to desktop. I also tried switching operating systems (as well as deleting/reinstalling there, too). All items in the library are carefully sorted into one or more collections, which is why I don't just delete the existing item after adding the new/complete one - manually re-adding the collection relationships is a pain
Sign In or Register to comment.