Zotero API key incorrect, please help to fix


I’m new to Collabora, trying to set up things as part of a Nextcloud installation. I’ve created a private Zotero API key and entered it into the respective field (as per How to Manage Bibliographic Data With Zotero and Collabora Online - Collabora Office and Collabora Online), but it’s always reported to be invalid (“Zotero API key incorrect” upon opening a document in Collabora).

I’ve checked that the key exists and is working by accessing https://api.zotero.org/keys/MYKEY, and that curl -H "Zotero-API-Key: MYKEY" https://api.zotero.org/users/MYID/items returns my items as expected.

So, how can I figure out what’s wrong? I don’t have much experience debugging NC + Collabora so any help is appreciated.

Welcome to the forum @xkoeLRBcsFZtCSxE . :slight_smile:

Could you give us your exact:

  • Help > About info?
  • + Which version of Nextcloud are you running?

And you added the Zotero API key like that article said? Under Nextcloud’s:

  • Administration Settings > Office
  • “Enter Zotero API Key”

(Maybe double-check and make sure there wasn’t an extra character at the beginning/end, like an accidental extra space or quote or something.)

In addition, if your Nextcloud and CODE is on HTTP, then accessing Zotero via HTTPS possibly won’t work.

1 Like