So here are the details. I have an app called myapp.
under myapp/default I have a setup.xml defined like this
<!-- Note that the path to the script uses URI encoding -->
<block title="Enable a scripted input"
<i>Specify the configuration for a single setting in a stanza.</i>
<label>Specify the interval for [$name$] </label>
I have myscript.sh under myapp/bin
echo "Yay! You called me!"
Now when I navigate to the app, the setup page comes up. I update the interval and click save and get the following error
Encountered the following error while trying to update: Cannot find item for POST arg_name="/data/inputs/script/%24SPLUNK_HOME%252Fetc%252Fapps%252Fmyapp%252Fbin%252Fmyscript.sh/interval"