Hello 14kreeba
We understand you have a very specific error relating to a shortcut you've created on your MacBook. The first thing we'd recommend is to fully update your macOS. The current version is macOS 13.2.1.
Update macOS on Mac
Then, delete the shortcut you created in the Shortcuts app, restart your Mac, then re add the shortcut: Create a custom shortcut on Mac
If you still get the same error, we'd next recommend reaching out to our dedicated support team. You can reach them here: Get Support - Apple
You can also find our phone number for your region at this link: Contact Apple for support and service
All the best.