Sorry for the delay, @stevelw . I’ve managed to replicate this with advanced URI. We will have a look. (It’s a long weekend though.)
We’ve now found sometimes it works and sometimes it doesn’t. doing Hook to New
twice in a row but the user is left with an additional note and set of links. The on/off must have screwed up our tests, or something changed.
The failure to create the hook seems to be because the x-callback-url event is not received by Hook from Obsidian. And there is an error in Obsidian developer window:
VM112:4560 Uncaught (in promise) TypeError: Cannot read property ‘frontmatter’ of null
at AdvancedURI.eval (eval at (app.js:1), :4560:68)
at step (eval at (app.js:1), :72:23)
at Object.eval [as next] (eval at (app.js:1), :53:53)
at eval (eval at (app.js:1), :46:71)
at new Promise ()
at __awaiter (eval at (app.js:1), :42:12)
at AdvancedURI.getUIDFromFile (eval at (app.js:1), :4540:16)
at AdvancedURI.eval (eval at (app.js:1), :4504:51)
at step (eval at (app.js:1), :72:23)
at Object.eval [as next] (eval at (app.js:1), :53:53)
Looks like there’s an issue with the obsidian-advanced-URL plugin (or something underlying in Obsidian) @Vinzent03 does that error message mean anything to you? I know you’re on a Mac yet. We’ll add a caveat emptor on Using Hook with Obsidian – Hook.