Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Errors

    The error object of the CRM API and the codes that say what went wrong.

    On this page

    An error is an HTTP status and a JSON object whose code never changes its meaning.

    The error object

    FieldMeaning
    codeA stable code for the cause. Act on this.
    messageA sentence to read in your logs. It can change, so do not show it to the people who use your software and do not match on it.
    fieldsOn a 400, each field that is wrong and why. Absent otherwise.
    requestIdThe identifier of this request. Quote it when you ask us for help.

    Every answer, an error or not, carries the header X-RDC-Request-Id with the same value as requestId.

    Codes every product shares

    StatusCodeMeaningRetry
    400invalid_requestThe request cannot be read or breaks the contract: malformed JSON, a missing or unknown field, a wrong type. fields names each one.No. Fix the request.
    401unauthorizedThe token is missing, expired or not ours.After you get a new token.
    403forbiddenThe token does not give access to this company or operation.No.
    404<thing>_not_foundThe record does not exist for this company.No.
    409revision_conflictexpectedRevision is older than the record.Read the record again, then send a new operation.
    409operation_reusedThis operationId was sent before with another body.No.
    422A code of the product, such as blocked_by_checksThe request is well formed and a rule of the product refuses it.No. The code says what to change.
    429rate_limitedToo many requests. Retry-After gives the seconds.Yes, after the pause.
    503unavailableThe service cannot answer now.Yes, with the same operationId.

    Codes of CRM

    StatusCodeMeaning
    404deal_not_foundThe deal does not exist, or it was merged into another one.
    404company_not_foundThe company does not exist.
    404owner_not_foundThe owner is not a person of your account.
    404task_not_foundThe task does not exist on this deal.
    404person_not_foundThe person does not exist.
    404activity_not_foundThe activity does not exist.
    404pipeline_not_foundThe pipeline does not exist.
    404operation_not_foundNo change was recorded under this operationId.
    404event_not_foundThe event does not exist, or it has not been delivered to a subscription yet.
    404subscription_not_foundThe subscription does not exist.
    409external_id_takenAnother record of the same kind already has this externalId.
    409offer_requiredThe deal has not reached offer, so it cannot be won.
    409deal_closedThe deal is won or lost. Only reopening it, or creating its order, is accepted.
    409deal_not_closedThe deal is open, so there is nothing to reopen.
    409order_existsThe deal has an order in ERP, so it cannot be reopened.
    409deal_not_wonOnly a won deal can have an order in ERP.
    409order_already_createdThe deal already has its order. A second one is not created.
    409task_already_doneThe task is already done.
    409other_companyThe records belong to different companies.
    409not_a_leadOnly a deal in lead can be merged.
    422not_a_moveThe deal is already in this stage.
    422reason_not_validThe reason is not one of the values of the operation.
    422name_requiredThe name is empty, or longer than 280 characters.
    422text_requiredThe text is empty, or longer than 280 characters.
    422kind_not_validThe kind is not one of the values of the operation.
    422date_not_validThe date is not a real day, or it is earlier than today.
    422value_not_validThe value is not a decimal string greater than zero.
    422minutes_not_validThe length of a call is not a whole number from 1 to 480.
    422same_dealThe duplicate is the deal itself.
    422custom_field_unknownA key in customFields is not a custom field of this kind of record.
    422custom_field_invalidA value in customFields does not fit the type of its field.

    The full rule: Developer guide