zotero-better-bibtex: "could not fetch Zotero items: TypeError: item.custom is undefined" occurred when exporting from markdown to docx

Debug log ID

QNQ3K2ZE-refs-euc/6.7.143-7

What happened?

Thanks so much for creating such an excellent tool. But I just found I couldn’t get the right citation when I convert markdown to docx file.

Here is an example, the citation in the markdown file is “@FrizzellArtificialintelligencebrain2022”. When I use the command pandoc "test.md" -s --lua-filter=./zotero.lua -o "test.docx", an error occured: “could not fetch Zotero items: TypeError: item.custom is undefined. @FrizzellArtificialintelligencebrain2022 not in Zotero”. And in the output test.docx, the citation there is only plain text. But I’m pretty sure this reference is in my Zotero. I also tried other references, the same things happened. image

Here is some information that may be useful:

  • Zotero 7.0.0-beta.54+6b996d4f9
  • Zotero.lua zotero-live-citations 56897b3
  • Better BibTex for Zotero 6.7.143
  • mac OS 14.2.1
  • pandoc 3.1.11.1

Thanks so much in advance.

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 36 (15 by maintainers)

Commits related to this issue

Most upvoted comments

Superb, thank you.

That happens. Can you please try the following on 5663:

  • turn caching back on
  • trigger all your auto-exports to run from the settings
  • recompile your document

and see if that still works?

Yes, it still works. Thanks so much😜