Toggle Silent mode not working on Action button shortcut
So I've been trying to build an action button shortcut based on device orientation for my new iPhone 17 Pro, both landscape (which I've set to rotation lock) and portrait which I've set to the quick reminder action work perfectly well, however the Toggle silent mode action keeps throwing up an error saying it cannot be run in the current environment. I'm not the most skilled at using shortcuts so is there anything I could be doing wrong? Any help is appreciated! This is the link to the shortcut
NOTE: this shortcut requires the ACTIONS ( app please download it before using this shortcut and also requires files that is attached to the requests. You can GET, POST, PUT, PATCH, and DELETE and maybe even call APIs with this and even maybe experiment. I honestly made this for fun not that i know anything about http requests. But have fun with this if you have knowledge with this stuff!
I built my own AI-powered productivity system using Apple Shortcuts, and here's a version you can try! For the past few months, I've been building my own system called LifeOS, with Target as its main task management module. It started as a simple task manager, but across four versions I gradually added routines, AI-powered task creation, priorities, scheduling, deadlines, location-based reminders, and much more. The idea is simple: press the Action Button, describe what you want to do, and let A