Kde keybaord shortcut to sh script not working

im trying to use kde keybaord shortcut to run a sh script, but its not working. Any ideas how I can debug this to help find the issue?

Can you run it from the terminal? Does it have executable permissions and a correct shebang?

script works fine when running from dolphin by clicking on it. Also works fine from command line.
Ive set it to create a text file for a test, and its not creating the file when using the hotkey. Possibly a kde bug?

Are you adding the shortcut from System Settings > Custom Shortcuts? For me, custom shortcuts to bash and python scripts only work when I add them in the Custom Shortcuts menu (not working when selecting Add Application in the Shortcuts menu).

Ive tried that also, and its not working for me.