API problem types / Employees and payroll

HTTP 409 · Conflict

Employment Contract Invalid Transition

https://corplyst.com/problems/employment-contract-invalid-transition

What it means

The contract can't make this change in its current state. Only a draft can be edited or activated, and only an active contract can be amended.

What to do

Reload the contract to see its current state. Create a new contract if the terms have changed.

Example response

Sent with Content-Type: application/problem+json. The detail field describes this specific occurrence.

{
  "type": "https://corplyst.com/problems/employment-contract-invalid-transition",
  "title": "Employment Contract Invalid Transition",
  "status": 409,
  "detail": "…"
}

← All problem types