don't allow empty key/job_id when creating events