Could not find Employee: "EMP/0001"0001

This is the error message that I get when I try to save a document Employee Attendance Tool - "Could not find Employee: “EMP/0001"0001” Though I tried looking at the permissions etc. I didnt find any references to old employee id thats been pending in permission manager. I have changed the employee ID series though. Attaching traceback here -

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 55, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 19, in handle
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 40, in execute_cmd
ret =, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 897, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/hr/doctype/employee_attendance_tool/”, line 51, in mark_employee_attendance
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 723, in submit
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 712, in _submit
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 223, in save
return self._save(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 242, in _save
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 190, in insert
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 385, in _validate
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 620, in _validate_links
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 309, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 302, in msgprint
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 275, in _raise_exception
raise raise_exception, encode(msg)
LinkValidationError: Could not find Employee: "EMP/0001"0001

Can you share what is your employee naming series?

Hi Rishab , the naming series that I am using is ReEn - earlier I was using default one EMP/ but then

  1. I later deleted all employees
  2. Changed the naming series to ReEn
  3. Re added the employees with changed naming series using upload feature.

But I get this error while using attendance tool.