invalid_hire_date
The employee's hire date would fall after their termination date: either `hire_date` was changed to a date later than the recorded termination, or the employee was deactivated with a `termination_date` earlier than the hire date. The employee is left unchanged.
| Code | Type | HTTP | Category |
|---|---|---|---|
invalid_hire_date | invalid_request_error | 422 | Employees |
Cause
The employee's hire date would fall after their termination date: either hire_date was changed to a date later than the recorded termination, or the employee was deactivated with a termination_date earlier than the hire date. The employee is left unchanged.
What to do
Send a hire_date on or before the employee's termination date, or a termination_date on or after their hire date. Check both dates with GET /v1/employees/{employee} before repeating the call.
Related
All Employees error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.