Skip to content
Docs
API 1.0.0 · 23 Nov 2026

Search the docs

    Română

    Errors

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

    StatusCodeMeaning
    404document_not_foundThe document does not exist for this company.
    404person_not_foundThe person is not a person of your account.
    404counterparty_not_foundThe counterparty is not a customer, a supplier or a carrier of your account.
    404recipient_not_foundThe person is not one who can be asked to sign this document: the signatory of your company or a contact named at its counterparty.
    404field_not_foundThe name is not one of the extracted values of an invoice.
    404extraction_not_foundThe document was not read: only an invoice created with extract has an extraction.
    404signature_request_not_foundNo request for signature was sent for this document.
    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.
    409document_archivedThe document is archived. Nothing changes on an archived document.
    409document_not_draftOnly a draft can be changed, revised or submitted.
    409revision_requiredThe approver returned the document. Revise it, then submit it again.
    409document_not_in_reviewOnly a document in review can be approved or rejected.
    409not_your_turnThe approvers decide in order. The approver you named comes after one who has not decided.
    409already_decidedThe approver you named has already approved this document.
    409document_not_approvedA request for signature is sent for an approved document.
    409already_signedEvery recipient has signed. Archive the document.
    409signature_request_openThe document has a request for signature that has not ended: every recipient has not signed yet and none has declined.
    409signature_requiredA contract or an offer is archived after it is signed.
    409document_not_finalOnly an approved invoice or report, or a signed contract or offer, can be archived.
    409value_already_acceptedThe extracted value is already accepted.
    409value_differsThe extracted value differs from the record of the partner and cannot be accepted. Correct it to the value of the record.
    409extraction_closedThe extracted values cannot be changed after the invoice was submitted.
    422class_not_validThe class is not one of contract, invoice, offer or report.
    422name_requiredThe name is empty, or longer than 280 characters.
    422date_not_validThe date is not a real day in the form YYYY-MM-DD.
    422amount_not_validThe amount is not a decimal string greater than zero, with at most two decimals.
    422amount_requiredA document of this class is routed by its amount, so it needs one before it is submitted.
    422nothing_to_changeEvery value in the request is the value the record already has.
    422value_requiredThe corrected value is empty, or longer than 120 characters.
    422account_not_validThe corrected value is not shaped like an IBAN: two letters, two digits, then 10 to 30 letters or digits.
    422totals_do_not_addThe extracted gross is not the extracted net plus the extracted VAT. Correct the value that is wrong.
    422extraction_unresolvedAn invoice is submitted when every extracted value is accepted. The fields of the error name the ones that are not.
    422reason_requiredA rejection needs a reason of at most 280 characters.
    422not_an_approverThe person is not on the route of the document: the route comes from its class and its amount.
    422owner_is_approverThe owner of the document is on its route, so it cannot be submitted. Nobody approves what they own.
    422class_not_signedOnly a contract or an offer is sent for signature.
    422recipients_requiredThe list of recipients is empty.
    422recipient_duplicatedThe same person appears twice in recipients.

    The full rule: Developer guide