Troubleshooting HR & Leave
Most blocked HR and leave actions come down to one of six causes: a missing permission, data scope, an account not linked to an employee record, leave-type rules, the work schedule or holidays, or a request still awaiting approval. Every error message carries a code — click it for the explanation page.
Missing permission
| Symptom | Permission needed |
|---|---|
| No HR → Employees | employees:read |
| No New Employee / Import CSV button | employees:write |
| No Terminate button on the record | employees:delete |
| No HR → Leave | leave:read |
| No Approve / Reject on the request list | leave:approve (and the request is not in an approval workflow) |
| Cannot create leave types, holidays or grant balances | leave:manage |
| No Employee Service | hr:own |
Error: Permission denied. Ask an admin to add the permission to your role.
Can’t see an employee or their salary
- Data scope. The list only shows employees inside your scope (mine / team / all). Opening someone outside it by link also returns not found. Error: Not found.
- Salary hidden. Salary is sensitive personal data: only the employee themselves or holders of
payroll:read,hr:payroll,payroll:writeorpayroll:adminsee it. Others can open the record but the salary fields are hidden — by design, not a bug.
Account not linked to an employee record
Employee Service (My Leave, payslips, attendance) finds you through the link between your user account and an employee record in the current company. Without it the page says the account is not an employee. Error: Prerequisite not met. HR opens the employee record and links the right user account — see New employee cannot use self-service.
Employees who have left cannot submit new requests.
Leave-type rules
Each leave type has its own policy, checked both when a request is created and when a draft is submitted:
- Balance too low, or the year of the leave has no balance granted yet. Error: Insufficient balance. HR grants it in HR → Leave, Settings → Balance Grants tab.
- Overlap with a pending or approved request (a morning half day and an afternoon half day on the same date are fine).
- Notice period, maximum consecutive days, gender, confirmed employees only (people on probation are refused).
- Required documents: save as draft, upload the document, then submit.
- Half day is only offered when the leave type allows half days.
- Inactive leave types cannot be selected.
Errors: Invalid value · Field required · Prerequisite not met. Configure in Configuring leave.
Work schedule and holidays
Leave days are counted from the employee’s own effective work schedule: public and company holidays don’t count; a make-up working Saturday does.
- A range with no working day is refused. Error: No working days.
- The count differs from yours ⇒ check holidays in HR → Leave, Settings → Holidays tab, and the employee’s work schedule.
- Changing the schedule after a request was submitted does not change that request’s day count.
Pending approval / approval workflow
- A pending request already holds its days on the balance (the Pending column), so Remaining drops before the leave is taken. Rejecting or cancelling releases them.
- A request in an approval workflow can only be decided by the approver of the current step, in Requests & Approvals → My Tasks. Error: Approval required.
- If the leave type has no approval workflow, or a step finds no approver (for example the employee has no manager), the request cannot be submitted. Errors: Not configured · Workflow step blocked. Set the employee’s manager or route that step to a role.
- Cancelling an approved request only works before its start date. Error: Not allowed in this state.
Self-service leave is turned off
When the people.self_service_leave_request toggle is off, My Leave shows a notice and employees cannot submit — HR files the request in HR → Leave. Error: Feature disabled.