Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Errors

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

    StatusCodeMeaning
    422INVALID_TRANSITIONRead the record and choose an action allowed in its state.
    422ALERT_RESOLVEDA resolved alert cannot be changed.
    422ALREADY_ACKNOWLEDGEDThe alert is already acknowledged; read its current state.
    422ASSIGNEE_REQUIREDAssign the alert before creating the work order.
    422ACKNOWLEDGEMENT_REQUIREDAcknowledge the alert before resolving it.
    422WORK_ORDER_EXISTSRead and use the existing linked work order.
    422WORK_ORDER_REQUIREDThe ERP confirmation must contain the work-order identifier.
    422UPDATE_NOT_READYOnly a ready update can start.
    422UPDATE_NOT_RUNNINGThis action requires a running update.
    422UPDATE_NOT_PAUSEDResume only a stopped or failed update.
    422STALE_STAGEThe result belongs to a different stage; read the current stage.
    422INVALID_STAGE_RESULTStage successes and failures must equal the stage cohort size.
    422ALREADY_OFFLINEThe gateway uplink is already disconnected.
    422ALREADY_ONLINEThe gateway uplink is already connected.
    422UPLINK_OFFLINEReconnect before delivering queued readings.
    422BUFFER_EMPTYThere is no queued reading to deliver.
    422OUT_OF_ORDERDeliver the oldest queued reading first.
    422DUPLICATE_READINGKeep the first recorded reading; do not apply the duplicate.
    422STALE_READINGUse a source sequence greater than the last accepted sequence.
    422INVALID_READINGCheck the identifier, value, quality and source timestamp.
    422BUFFER_FULLPreserve the queue and restore delivery before accepting more readings.
    422EXTERNAL_ID_EXISTSFind the device with that externalId instead of creating it again.
    422RULE_INVALIDCheck tag, unit, operator, threshold and duration.
    422UPDATE_INVALIDSelect a non-empty compatible device cohort and an approved firmware.
    422EVENT_NOT_PARKEDReplay applies only to a parked delivery.

    The full rule: Developer guide