Opening a note via URI on iOS does not work when Obsidian hasn't been opened before

Steps to reproduce

When opening an Obsidian Note on iOS via URI (e.g. as a Shortcut) whenever Obsidian hasn’t been opened before or have been closed for a long time (cold start), it does not load the note from the URI but the note that has been left open the last time obsidian was running.

In addition, the info-bars on the bottom appear twice and plugins (such as dataview or tasks) are displayed to be not loaded (though they work perfectly).

After Obsidian has been opened and the URI is beeing called a second time, the problem disappears.

Did you follow the troubleshooting guide? [Y/N]

Reproduced it with a clean vault on iOS.

Expected result

Seeing the note to be opened via the URI.

Actual result

Seeing the note that has been left open the last time obsidian was running.

Environment

  • iOS18
  • Obsidian Version 1.8.10 (197)
  • PlugIns
    • Dataview
    • Calendar
    • Tasks

Additional information

  • The problem is also reported on reddit (sharing links is not allowed in this forum)
  • I think it started after the improved loading of obsidian mobile
  • I attached a screenshot

1 Like

I wasn’t able to reproduce this.

Here’s what I did:

  1. Copied the URL of my currently open note.
  2. Closed the note.
  3. Force closed Obsidian by swiping it out of the app switcher.
  4. Put the URL in a Markdown link in IA Writer.
  5. Previewed the file and tapped the link.
  6. Tapped the permission thing asking if I wanted to allow iA Writer to open Obsidian.

Obsidian opened to the correct note. I saw no notifications about plugins unable to load.

I created a test vault (in iCloud) with two test notes an repeated your steps, except I left Test Note 2 open. The link directs to the first test note. As you can see test note 2 still remains open.

IMG_0957

I believe I had other notes open in my test, but I’ll try to reproduce with your more focused setup. If I don’t post about it within a few days, feel free to ping me about it.

My phone updated to Obsidian 1.9.10 on iOS yesterday.

So far the bug seems to be gone. I couldn’t reproduce the behavior in my early tests today.

Thank you for the support. I’ll keep you updated, if the bug should occur again.

Celebrating to early. Still happens with 1.9.10 on iOS.

I did some further tests and it seems like it’s related to iCloud. I created a local vault and ran the test one in the local vault and once in the iCloud vault. The problem only seems to appear in the iCloud vault.

IMG_1037

Did you enable “Keep Downloaded” for your iCloud vault?

Yes

While rewatching the screen recording I noticed a message popping up, while opening up the iCloud-based vault. You can see it in the gif above as well.

The error message that is shown for a split second is saying:

An error occurred while loading Obsidian. Error:

Code block postprocessor for language base is already registered

Reload app

Open another vault

Here’s the screenshot:

I can replicate this in both iOS and iPadOS on Version 1.9.14, as mentioned by others:

  • It happens when you have both an Obsidian Sync and an iCloud‑based vault.

In my case, from cold launch: the error with the iCloud‑based Obsidian vault is triggered from a shortcut or a URI; when opening an Obsidian Sync vault, the issue does not appear.

To clarify, the error only occurs after the app loses its state. So if you open Obsidian, switch vaults, go to the home screen, then open the iCloud vault URI, it will open correctly.

I have exactly same problem in Obsidian v1.9.14(241) both on iOS26 and ipadOS26.

I am still on 1.9.14, but this could change the observed behavior.

I just want to chime in that I have experienced the exact same problem for as long as I’ve played around with Obsidian URI:s (one or two years).

I do also get the same error when cold starting the app: ”An error occurred while loading Obsidian. Error: Code block postprocessor for language base is already registered”.

I’m on iOS 26.0.1, using Obsidian 1.9.14, and my vault stored in iCloud.

Just curious: have you activated Advanced Data Protection for iCloud?

Yes, I have.

Same issue, and I also only experience it when using Obsidian Sync on a vault that is saved to iCloud. Do we know if there’s a possible bug fix in the future, or do I need to move to a local vault and find some other way to back up?

No, not yet.

My hope is that 1.10.1 significantly changes the startup behavior (in a good way).

On reddit, @kepano already replied to worries of users that like to start the app with their own homepage. So I see progress with notes called via URIs as well here.

Fingers crossed!

Just a quick note here, we are reviewing your reports and thanks for the info.

It does change the startup behavior, but I am not sure it’s going to fix your problem

This is planned, however it’s unrelated to this topic, I suggest you open a FR to track that.

Not sure I understand you here. However, to be clear, on a single vault your should use either iClould or Sync. Using both may lead to race conditions.

1 Like

Thank you for your reply on the current status from the Obsidian team :+1:

I will test the behaviour as soon as I have 1.10.1 on my iPhone and will check further changelogs in upcoming releases.