/api/method/frappe.client.insert PermissionError Permiso insuficiente para Employee Checkin

when the employee checking using frappe Hr app

/api/method/frappe.client.insert PermissionError Permiso insuficiente para Employee Checkin

Hope roles and permissions are configured properly to the employee user ID?