Klantly Developers

Error codes

conflict

409 This conflicts with the current state.

Cause

The request conflicts with what already exists: the customer already has an open deal, the quote already has an invoice, or the channel did not accept the message. detail says what is going on.

Solution

Read detail. Often the id of the existing record is in the response (like deal_id or invoice_id) and you need not create anything again.

Example

application/problem+json
{
  "type": "https://developers.klantly.com/errors/conflict",
  "title": "This conflicts with the current state.",
  "status": 409,
  "code": "conflict",
  "request_id": "req_01j7zq3k9x2m4n6p8r0t2v4w6y"
}

← All error codes