Input validation on notifyservice

Should cover most bases
But it fails silently, so not particularly useful.