JECRM Open API errors

Every error is returned as RFC 9457 problem details with Content-Type: application/problem+json. Use the code member to handle errors in code; type links to the row below.

{
  "type": "https://…/errors#DEAL_NOT_FOUND",
  "title": "Deal not found",
  "status": 404,
  "detail": "Deal not found.",
  "instance": "/v1/deals/3f2a…",
  "code": "DEAL_NOT_FOUND",
  "timestamp": "2026-11-17T10:00:00.000Z"
}

VALIDATION_ERROR also has errors: [{ "field", "rule", "detail" }], RATE_LIMIT_EXCEEDED has retry_after (seconds).

CodeStatusTitleWhen
VALIDATION_ERROR 400 Request parameters are invalid A query, path or body parameter is invalid. The errors member lists every invalid field with the failed rule.
BAD_REQUEST 400 Bad request The request is malformed, e.g. the JSON body cannot be parsed.
CHAT_CREATED_DATE_FILTER_INVALID 400 Use either created_at or created_from/created_to, not both created_at is combined with created_from / created_to.
CHAT_UPDATED_DATE_FILTER_INVALID 400 Use either updated_at or updated_from/updated_to, not both updated_at is combined with updated_from / updated_to.
CHAT_DATE_FILTER_INVALID 400 Date filter must be a valid YYYY-MM-DD date or ISO 8601 timestamp A chat date filter is not a valid date.
WEBHOOK_EVENT_INVALID 400 Unsupported webhook event The webhook subscription contains an unsupported event.
WEBHOOK_URL_INVALID 400 Webhook URL is not allowed The webhook URL is invalid, is not https or points to a private host.
API_KEY_NOT_FOUND 401 Api key is required No API key in the x-api-key header (or Authorization: Bearer).
API_KEY_INVALID 401 Api key is invalid, revoked or expired The API key is invalid, revoked or expired.
NOT_FOUND 404 Resource not found The route does not exist.
CHAT_NOT_FOUND 404 Chat not found The chat does not exist or belongs to another company.
MESSAGE_NOT_FOUND 404 Message not found The message does not exist or belongs to another company.
FUNNEL_NOT_FOUND 404 Funnel not found The funnel does not exist, is not a v2 funnel or belongs to another company.
LEAD_NOT_FOUND 404 Lead not found The lead does not exist, belongs to another company or is a deal (use /v1/deals).
DEAL_NOT_FOUND 404 Deal not found The deal does not exist, belongs to another company or is a lead (use /v1/leads).
CONTACT_NOT_FOUND 404 Contact not found The contact does not exist or belongs to another company.
CLIENT_COMPANY_NOT_FOUND 404 Client company not found The client company does not exist or belongs to another company.
PRODUCT_NOT_FOUND 404 Product not found The product does not exist or belongs to another company.
PAYMENT_NOT_FOUND 404 Payment not found The payment does not exist or belongs to another company.
TASK_NOT_FOUND 404 Task not found The task does not exist or belongs to another company.
ACTING_USER_INVALID 400 Acting user is invalid The X-User-Id header is not a UUID or not an active member of the company, or no X-User-Id was sent and the company has no active owner to act on behalf of.
PHONE_NUMBER_INVALID 400 Phone number is invalid A phone number is not valid. Use the international format, with or without +.
EMAIL_INVALID 400 Email is invalid An email address is not valid.
ADDRESS_INVALID 400 Address is invalid An address is not valid.
CUSTOM_FIELD_VALUE_INVALID 400 Custom field value is invalid A custom field value does not match the field type or its options (see GET /v1/funnels/{id}).
CARD_ITEM_INVALID 400 Card item is invalid A product line of a lead/deal is invalid (quantity, price, discount or the variant).
VARIANT_ARCHIVED 400 Variant is archived The variant is archived and cannot be added to a lead/deal.
WAREHOUSE_ARCHIVED 400 Warehouse is archived The warehouse is archived.
VARIANT_PROPERTIES_INVALID 400 A variant can have only one value of each property A variant can have only one value of each property.
TASK_REMINDER_INVALID 400 A reminder needs exactly one of remind_at and before_deadline_minutes, and before_deadline_minutes needs a task deadline A reminder needs exactly one of remind_at and before_deadline_minutes, and before_deadline_minutes needs a task deadline.
PAYMENT_INVOICE_DETAILS_INVALID 400 Invoice details are not valid The invoice details of a payment are invalid (name, tax id, IBAN or purpose).
PAYMENT_TYPE_INACTIVE 400 Payment type is inactive The payment type is inactive.
PAYMENT_SERVICE_INACTIVE 400 Payment service is inactive The payment service is inactive.
BANK_QR_REQUEST_FAILED 400 The bank did not create the payment link The bank did not create the payment link; see the response details.
TASK_REVIEW_CREATOR_ONLY 403 Only the creator of the task can accept it or return it to work Only the creator of a task can accept it from review or return it to work (pass the creator in X-User-Id).
SKU_ALREADY_EXISTS 409 SKU already exists A variant with this SKU already exists.
BARCODE_ALREADY_EXISTS 409 Barcode already exists A variant with this barcode already exists.
VARIANT_ALREADY_EXISTS 409 The product already has a variant with these property values The product already has a variant with these property values.
PRODUCT_HAS_HISTORY 409 Product has stock or movement history: it can only be archived and its currency can not be changed The product has stock or movement history: it cannot be deleted (archive it with is_archived) and its currency cannot be changed.
VARIANT_HAS_HISTORY 409 Variant has stock or movement history, it can only be archived The variant has stock or movement history: it cannot be deleted, only archived.
CARD_ITEMS_LOCKED 409 Card items are written off, move the card back to change them The product lines of the lead/deal are written off: move it back to change them.
CARD_ITEM_WAREHOUSE_REQUIRED 409 Card items need a warehouse to be reserved or written off The product lines need a warehouse to be reserved or written off.
INSUFFICIENT_STOCK 409 Not enough stock Not enough stock for the product lines; the details extension lists the lacking balances when the CRM provides them.
CARD_PAYMENT_STATUS_CONFLICT 409 The payment status does not allow this change: a paid payment can only be canceled, a canceled one is final The payment status does not allow the change: a paid payment can only be canceled, a canceled one is final.
TASK_STATUS_CONFLICT 409 The task status does not allow this change The task status does not allow this change.
FISCAL_RECEIPT_REQUIRED 409 A fiscal receipt is required to mark this payment as paid The company has an active cash register: a payment cannot be marked as paid without a fiscal receipt.
FISCAL_PAYMENT_CANCELLATION_BLOCKED 409 A payment with a fiscal operation can not be canceled A payment with a fiscal operation cannot be canceled.
FISCAL_REQUEST_IMMUTABLE 409 A payment with a fiscal operation can not be changed A payment with a fiscal operation cannot be changed.
USER_NOT_FOUND 404 User not found A user (assignee, observer, responsible) does not exist in the company.
COLUMN_NOT_FOUND 404 Column not found The column does not exist or does not belong to the funnel.
COLUMN_CARD_NOT_FOUND 404 Column card not found A lead, deal or other linked card does not exist in the company.
COMPANY_V2_NOT_FOUND 404 Client company not found A client company does not exist in the company.
CARD_ITEM_NOT_FOUND 404 Card item not found The product line does not exist on this lead/deal.
CARD_PAYMENT_NOT_FOUND 404 Payment not found The payment does not exist.
VARIANT_NOT_FOUND 404 Variant not found The variant does not exist or belongs to another company.
CATEGORY_NOT_FOUND 404 Category not found The product category does not exist.
UNIT_NOT_FOUND 404 Unit not found The unit of measure does not exist.
WAREHOUSE_NOT_FOUND 404 Warehouse not found The warehouse does not exist.
PROPERTY_NOT_FOUND 404 Property not found The product property does not exist.
PROPERTY_VALUE_NOT_FOUND 404 Property value not found The product property value does not exist.
PAYMENT_TYPE_NOT_FOUND 404 Payment type not found The payment type does not exist (see GET /v1/payment-types).
PAYMENT_SERVICE_NOT_FOUND 404 Payment service not found The payment service does not exist.
TASK_REMINDER_NOT_FOUND 404 Task reminder not found The task reminder does not exist.
FILE_NOT_FOUND 404 File not found A referenced file does not exist.
CRM_ACTION_FAILED 502 The CRM failed to process the change The CRM failed to process a change. It may have been partially applied: check the entity before retrying.
CRM_ACTION_TIMEOUT 504 The CRM did not confirm the change in time The CRM did not confirm a change within 30 seconds. The change may still be applied: check the entity before retrying.
PAYLOAD_TOO_LARGE 413 Payload too large The uploaded file exceeds the size limit.
RATE_LIMIT_EXCEEDED 429 Too many requests Too many requests. Retry after the Retry-After header (seconds), also returned as retry_after.
INTERNAL_ERROR 500 Internal server error Unexpected server error. Safe to retry later; contact support if it persists.