Creating note via URI fails

Steps to reproduce

open "obsidian://new?vault=56529c1cb2f5124b&path=A%2FB%2FC"
open "obsidian://new?vault=56529c1cb2f5124b&path=%2FA%2FB%2FC"
open "obsidian://new?vault=56529c1cb2f5124b&name=A%2FB%2FC"
open "obsidian://new?vault=56529c1cb2f5124b&name=%2FA%2FB%2FC"

For this I get




Did you follow the troubleshooting guide? Y

Same behavior in sandbox vault.

Expected result

help.obsidian.md/Extending+Obsidian/Obsidian+URI#Examples

Actual result

Se eabove

Environment

SYSTEM INFO:
Obsidian version: v1.8.10
Installer version: v1.8.10
Operating system: Darwin Kernel Version 23.6.0: Thu Apr 24 20:27:36 PDT 2025; root:xnu-10063.141.1.705.2~1/RELEASE_ARM64_T8103 23.6.0
Login status: not logged in
Language: de
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

Okay i found that i should have been using file instead of path.

the second one

  • obsidian://new?vault=my%20vault&path=path%2Fto%2Fmy%20note
    This opens the vault my vault, and creates a new note at path/to/my note.

is incorrect and misleading. as stated some lines below

  • path a globally absolute path. Works similar to the path option in the open action, which will override both vault and file.

please change that to safe future readers time.

ok, I see the typo in the docs. Should be

obsidian://new?vault=my%20vault&file=path%2Fto%2Fmy%20note

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