Cannot export via Pandoc/Enhancing Exports

What I’m trying to do

I want to export from markdown to PDF/Word, with or without references from a Zotero-generated .json-file.

This has worked perfectly before, but now when I try to export a file (to PDF or Word) via the Pandoc or Enhancing Export plugin, I get this error message. It looks like something is wrong with my Zotero library file, but I have not made any changes in what Zotero outputs.

Error

I have used these extra pandoc arguments in the Pandoc Plugin before, without any problem:

–metadata bibliography=C:\Users\peasv\OneDrive\Documents\Obsidian-Zotero-library\My_Library.json --citeproc --csl=C:\Users\peasv\OneDrive\Documents\apa.csl

In Enhancing Exports, I have used these arguments…

–metadata bibliography=C:\Users\peasv\OneDrive\Documents\Obsidian-Zotero-library\My_Library.json --citeproc --csl=C:\Users\peasv\OneDrive\Documents\apa.csl

… and these extra arguments

–pdf-engine=pdflatex

Does anyone have any suggestions on how to solve the problem?