Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Errors

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

    StatusCodeMeaning
    422invalid_stateRead the run and follow the transition allowed from its current state.
    422unknown_employeeCheck that the employee belongs to the run.
    422duplicate_inputUse the original employee and input type, or choose a new input ID.
    422invalid_inputCheck required fields, date, amount and timesheet days.
    422invalid_correctionLink the same employee in a paid or filed run from the previous period.
    422missing_timesheetRecord a current-period timesheet for every employee.
    422unsupported_grossCheck the earnings and use the calculation applicable to the employee’s tax treatment.
    422approval_blockedRead blockers, reopen the run, resolve the issues and calculate again.
    422invalid_paymentCheck the bank outcome and use the unique reference of that attempt.
    422payment_already_settledReconcile the existing settlement before taking any further payment action.
    422invalid_receiptSupply the reference from the accepted filing receipt.
    422event_not_parkedReplay a delivery only after it has been parked.

    The full rule: Developer guide