Could you share the action as you currently have it configured? You can post to the Action Directory as an unlisted action and share the link here. Much easier to troubleshoot if we can see exactly how it’s configured.
In order to create a valid URL, parameter values must be URL-encoded. Turn on the “Encode Tags” option to let Drafts do that for you. That setting is on by default, but can be disabled for advanced use cases where the action has already done the encoding.
Also, the “Use Safari” option should not be enabled. That is only valid for “http” type web URLs, not app URLs.
I think if you flip those values you should be up and running.
I don’t see the Safari option, and to me it looks like the prompt-related tag isn’t being populated when in the URL step.
I put a message step in before the URL, using the same tag, and it populated fine with the data in that, but in the log for the URL, it shows the name of the tag, not the value.
I had been looking at an older error from a test using text. The latest error was being logged correctly, and was actually different to what I posted.
Apparently the true error here was me not looking at the error log times because I was too distracted and trying to do something else at the same time.
A classic multi tasking where I should have mono tasked fail.