Klantly Developers

Error codes

invalid_state_transition

409 This action is not possible in the current status.

Cause

This action is not possible in the current status, for example editing a sent invoice.

Solution

Check the status of the record. Status changes go through the action endpoints.

Example

application/problem+json
{
  "type": "https://developers.klantly.com/errors/invalid_state_transition",
  "title": "This action is not possible in the current status.",
  "status": 409,
  "code": "invalid_state_transition",
  "request_id": "req_01j7zq3k9x2m4n6p8r0t2v4w6y"
}

← All error codes