Error - id of department not defined.