Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Errors

    The error object of the ERP 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 ERP

    StatusCodeMeaning
    404item_not_foundThe item does not exist.
    404partner_not_foundThe customer or supplier does not exist, or is not one of the kind the request needs.
    404sales_order_not_foundThe sales order does not exist.
    404delivery_not_foundThe delivery does not exist.
    404invoice_not_foundThe invoice does not exist.
    404purchase_order_not_foundThe purchase order does not exist.
    404receipt_not_foundThe receipt does not exist.
    404supplier_bill_not_foundThe supplier bill does not exist.
    404work_order_not_foundThe work order does not exist.
    404warehouse_not_foundThe warehouse does not exist.
    404event_delivery_not_foundThe event delivery does not exist.
    404subscription_not_foundThe subscription does not exist.
    404operation_not_foundNo change was sent with this operationId.
    409item_code_takenAn item with this code already exists.
    409nothing_parkedThe event delivery is not parked, so there is nothing to replay.
    409wrong_statusThe record is not in a status that allows this change.
    409credit_limit_exceededThe customer's unpaid invoices plus this order are over the credit limit. The order stays a draft.
    409nothing_to_reserveNo unit that the order still wants is free in stock.
    409over_receiptA quantity is more than the purchase order still waits for.
    409amount_exceeds_balanceThe payment is more than the balance of the invoice.
    409duplicate_billThis supplier already has a bill with this number.
    409receipt_missingNone of the billed items has been received on the purchase order, so the bill cannot be sent for approval.
    409match_differsThe bill does not match its order and receipts: a quantity or a price differs.
    409wrong_approval_stepThe step is not the next one of the approval chain.
    409bill_heldThe bill is on hold and cannot be approved.
    409bill_already_heldThe bill is already on hold.
    409bill_not_heldThe bill is not on hold.
    409payment_not_dueThe payment day of the scheduled bill has not come.
    409component_shortA component is not free in the quantity the work order needs.
    422invalid_quantityA quantity is not a whole number from 1 to 1000000.
    422invalid_priceA price is not a positive amount.
    422invalid_amountThe amount is not a positive amount.
    422invalid_dateA date is not a day of the calendar, or a bill is dated after today.
    422date_in_the_pastThe payment day is before today.
    422no_linesThe document has no line.
    422duplicate_itemAn item appears on more than one line.
    422not_purchasableThe item is made in-house and cannot be put on a purchase order.
    422not_madeThe item has no bill of materials, so it cannot be made.
    422item_not_on_orderThe item is not on the purchase order.
    422supplier_mismatchThe supplier of the bill is not the supplier of the purchase order.
    422number_requiredThe number on the supplier's document is empty or longer than 40 characters.
    422reason_requiredThe reason is empty or longer than 200 characters.
    422over_planThe produced quantity is more than the work order plans.

    The full rule: Developer guide