log invalid course id.