Zotero Integration import of tags broken after 1.9.12 update

What I’m trying to do

Trying to get Obsidian Zotero Integration to import notes/highlights/tags from Zotero. My template worked until I updated to 1.9.12. Now the tags are broken on import and throw errors when the resulting note is viewed in Obsidian. Rather than separate tags, I am getting all of the tags presented as long coma-separated string of text like: note-taking, reading, teaching

  • I am noting that the tags look fine if there is only one tag being imported from Zotero. However, multiple tags creates errors. See image.

Things I have tried

I’m not sure what to do to fix this. Are others having issues with this? I’m supplying the portion of the template that makes the YAML block on my notes here:

---
{% if title %}Title: "{{title}}"{% endif %}
Author: {{creators[0].lastName}}, {{creators[0].firstName}}
{% if publicationTitle %}Publication: "{{publicationTitle}}"{% endif %}
Date: {{date | format("YYYY")}}
modified: {{dateModified | format("YYYY-MM-DD")}}
Citekey: {{citekey}}
Subject: {{abstractNote}}
Tags: {{allTags}}
url: {{url}}
related:
MOC: 
important: false
uuid: {{dateAdded | format('YYYY')}}-{{dateAdded}}
---

What does it look like in Source View? I believe they need to be formatted as a list:

tags:
    - close-reading
    - truth-telling

I don’t know the plugin’s template system so don’t know how to accomplish that, but that’s the goal.

Tags: close-reading, truth-telling

That format was deprecated over a year ago and now it is completely unsupported.

Something changed after I updated to the current version. Previously, this worked fine. I’m only now getting this issue with tags.

I’ve submitted an issue for the Zotero Integration plugin here: Zotero Integration import of tags broken after 1.9.12 update · Issue #442 · mgmeyers/obsidian-zotero-integration · GitHub

However, I’d be curious if anyone knows what recent changes in Obsidian may have contributed to this behavior.

Yes, read the link above.

This person figured it out: Importing Zotero tags with new update

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.