You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was getting a Uncaught (in promise) Error: annotation key not found: in Zotlit which turned out to be because Zotero notes for the item I was importing had links to annotations which referenced the old UID of the attachment. Somehow, ZotLit was trying to acquire the annotations from that UID instead of the attachment UID directly from the Item.
To reproduce, try:
Create an annotation on a PDF in Zotero
Add that annotation (drag and drop) onto a new Item note in Zotero
Somehow update the attachment UID (without destroying the annotations?)
Try importing the item into ZotLit (not the notes. I use the standard annotations template plus a backlink to the annotation page)
Confounding plugins might include Better Notes for Zotero which may change how Item Notes work or update.
For myself - if I see this error again - check the parentItem key in the individual annotation info versus the attachmentKey in the console error message.
Does changing the annotationKey also break? Not sure, it seems Zotero/BetterNotes updates the link in the note correctly.
The text was updated successfully, but these errors were encountered:
I was getting a
Uncaught (in promise) Error: annotation key not found:
in Zotlit which turned out to be because Zotero notes for the item I was importing had links to annotations which referenced the old UID of the attachment. Somehow, ZotLit was trying to acquire the annotations from that UID instead of the attachment UID directly from the Item.To reproduce, try:
Confounding plugins might include Better Notes for Zotero which may change how Item Notes work or update.
For myself - if I see this error again - check the
parentItem
key in the individual annotation info versus theattachmentKey
in the console error message.The text was updated successfully, but these errors were encountered: