So, this is the situation:
- On iPhone, I open Shortcuts, and run a Shortcut that runs the command to get all Obsidian commands for my vault (the same happens whether I first purge the existing ones or not)
- The shortcut runs without seemingly erroring out, and returns me to Shortcuts
- I create a new Shortcuts, trying to create an action that runs a specific command
- There are no commands for my vault
I tried restarting the iPhone, uninstalling and reinstalling Actions for Obsidian and the plugin, but the results are always the same.
If I follow the same exact steps on MacOS, however, after step 2 I get a list showing me all of my vault’s command, and in step 3 I can set them for the shortcut. If I do create the shortcuts, it does not work on iPhone. The vault is synced with iCloud between the two devices, so every setting should be the same.
Trying to install Logstravaganza, I see this:
| 2025-03-05T17:28:03.422Z | @ | log | \["\[Actions URI]","Call handled:",{"params":{"action":"actions-uri/command/list","vault":"MINDLINK","debug-mode":false,"x-error":"actions-for-obsidian://x-callback-url/response?requestID=244FB378-CF05-488D-8E59-FAC8B6B44E87&responseType=error","x-success":"actions-for-obsidian://x-callback-url/response?requestID=244FB378-CF05-488D-8E59-FAC8B6B44E87&responseType=success","x-source":"Actions For Obsidian"},"handlerResult":{"isSuccess":true,"result":{"commands":"\[ ...
Here I see the list of my vault’s commands... ,"openResult":{"isSuccess":true,"result":"No file to open, handler didn't return a
processedFilepath` property"}}] |
Can you help me figure out what’s going wrong?
Hi @scevola44, welcome to the forum, and I’m sorry to hear you ran into issues.
You’re right, the logged Actions URI call looks healthy. Does this problem only occur for that particular vault, or others, too? Also, how many commands to you have in your vault – a few dozen, a few hundreds, 1000+? If it’s lots and lots, then it might help me debug this if you could provide me with the full Logstravaganza output – please post it here, or send me a private message, or an email to carlo@actions.work.
The vault is synced with iCloud between the two devices, so every setting should be the same.
The internal list of commands isn’t sync’d between AFO on macOS and iOS. You might use different sets of plugins on both platforms, that’s why. It’s possible that the returned list is too big to be reliably passed back to AFO via an URL call, but that’s just a first guess.
Yeah, it might be an URL length issue (which would explain why MacOS is having a better time at it, it might have different restrictions)
The complete log line is too long for a post reply, so I sent it via email 
The result string seems to be around 40k characters (give or take a few thousands for separators, encoded characters and the like). Playing around with a dataviewjs script, it seems I have 244 commands enabled on Mac and 239 on iPhone.
However, I tried disabling all plugins (except for Actions URI), restarting Obsidian and then running the “Get Available Commands” script in Shortcuts, but nothing changed (the result is the file I sent you).
Update for anyone stumbling across this topic: The issue was that the trial was long over, and the purchase reminder was too vaguely worded so it wasn’t clear that the workflow had stopped. 