I think it's failing because you setup your URL scheme in the editor to a bad format.
Follow this closely and try using that first. You just setup the scheme and you can parse the query property in the app delegate method.
https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app
You have your control setup correctly to open the url, but the answer on this Stack is also helpful for parsing and adding query items. You can add that bit of code in your intent / app delegate for parsing and formulating the URL:
https://stackoverflow.com/questions/73418995/open-url-scheme-through-widget-tap-ios-16-widget-kit
Topic:
UI Frameworks
SubTopic:
General
Tags: