An API key must be provided via -apikey or an environment variable called OBSIDIAN_API_KEY!

Update: Problem solved!

Thank you for the help — you were absolutely right. I had mistakenly installed the npm obsidian-cli package.

Here’s what I did to fix it:

  1. Uninstalled the npm package

  2. Verified the correct Obsidian CLI is now being used

  3. Confirmed the path points to the official Obsidian CLI

The API key error is gone and everything works as expected now.

Thanks again for pointing me in the right direction! :folded_hands:

1 Like