---
title: "Errors | Docs | Self-Checkout by R&D Copilot"
description: "The error object of the Self-Checkout API and the codes that say what went wrong."
canonical: "https://checkout.rdcopilot.com/docs/reference/errors/"
language: en
updated: 2026-11-22
---

# Errors

The error object of the Self-Checkout API and the codes that say what went wrong.

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

## The error object

| Field | Meaning |
| --- | --- |
| `code` | A stable code for the cause. Act on this. |
| `message` | A 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. |
| `fields` | On a 400, each field that is wrong and why. Absent otherwise. |
| `requestId` | The 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

| Status | Code | Meaning | Retry |
| --- | --- | --- | --- |
| `400` | `invalid_request` | The 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. |
| `401` | `unauthorized` | The token is missing, expired or not ours. | After you get a new token. |
| `403` | `forbidden` | The token does not give access to this company or operation. | No. |
| `404` | `<thing>_not_found` | The record does not exist for this company. | No. |
| `409` | `revision_conflict` | `expectedRevision` is older than the record. | Read the record again, then send a new operation. |
| `409` | `operation_reused` | This `operationId` was sent before with another body. | No. |
| `422` | A code of the product, such as `blocked_by_checks` | The request is well formed and a rule of the product refuses it. | No. The code says what to change. |
| `429` | `rate_limited` | Too many requests. `Retry-After` gives the seconds. | Yes, after the pause. |
| `503` | `unavailable` | The service cannot answer now. | Yes, with the same `operationId`. |

## Codes of Self-Checkout

| Status | Code | Meaning |
| --- | --- | --- |
| `403` | `not_an_attendant` | The person named in `attendantId` is not an attendant of the store, so the decision is not recorded. Send the identifier of an attendant. |
| `404` | `store_not_found` | The store does not exist in your account. List the lanes and use a `storeId` from the answer. |
| `404` | `lane_not_found` | The lane does not exist in your account. List the lanes and use one of their `id` values. |
| `404` | `basket_not_found` | The basket does not exist in your account. List the baskets and use one of their `id` values. |
| `404` | `line_not_found` | The basket has no line with this identifier. List the lines of the basket and use one of their `id` values. |
| `404` | `code_not_found` | No item of the store has this code. Send the code the scanner read, or the produce code of the item. |
| `404` | `intervention_not_found` | The intervention does not exist in your account. List the interventions and use one of their `id` values. |
| `404` | `device_not_found` | The device does not exist in your account. List the devices and use one of their `id` values. |
| `404` | `rollout_not_found` | The rollout does not exist in your account. List the rollouts and use one of their `id` values. |
| `404` | `delivery_not_found` | The delivery does not exist in your account. List the deliveries and use one of their `id` values. |
| `404` | `subscription_not_found` | The subscription does not exist in your account. List the subscriptions and use one of their `id` values. |
| `404` | `operation_not_found` | No change was sent with this `operationId`. Check the `operationId` you sent with the change. |
| `409` | `lane_not_idle` | The lane already has a basket. Use the basket of the lane, or wait until the lane is idle. |
| `409` | `lane_out_of_service` | The lane is out of service. Open the lane, or use another one. |
| `409` | `weight_pending` | The last line is still waiting for its weight on the bagging scale. Report the weight of the scale before you add another line or pay. |
| `409` | `no_weight_expected` | No line is waiting for a weight. Add a line first. |
| `409` | `assistance_pending` | The lane is stopped until an attendant decides an intervention. Approve, refuse or void the intervention of the lane. |
| `409` | `wrong_state` | The lane is in a state that does not allow this change. Read the lane and check its `state`. |
| `409` | `own_bag_declared` | The basket already has an own bag. Keep the weight you reported. |
| `409` | `own_bag_too_late` | An own bag is declared before the first line. Declare the bag on an empty basket. |
| `409` | `basket_empty` | The basket has no counted line, so there is nothing to pay. Add a line and report its weight. |
| `409` | `basket_not_open` | The basket is not the open basket of its lane: it is paid, voided or released, or it is being paid where the change needs it open. Read the basket and check its `status`, then read its lane. |
| `409` | `no_payment_pending` | The basket is not waiting for a payment. Start the payment of the basket first. |
| `409` | `help_already_requested` | The lane already waits for an attendant. Wait for the decision of the open intervention. |
| `409` | `help_cannot_be_refused` | A request for help is resolved, not refused. Approve the intervention to resolve it. |
| `409` | `already_decided` | The intervention was already decided. Read the intervention to see how it was decided. |
| `409` | `nothing_on_scale` | The scale read no weight for the line, so the line cannot be approved. Refuse the intervention or void the line. |
| `409` | `line_not_active` | The line is already voided. Read the basket to see its lines. |
| `409` | `lane_not_closed` | The lane is not out of service. Read the lane and check its `state`. |
| `409` | `device_fault` | A device of the lane is in fault, so the lane cannot be opened. List the devices of the lane and wait for the device to report that it works. |
| `409` | `lane_not_complete` | The lane has not finished a basket. Release the lane only after the payment was approved. |
| `409` | `rollout_active` | The store already has a rollout that is planned or running. Finish, halt or roll back that rollout first. |
| `409` | `config_current` | Every lane of the store already runs this configuration. Send a configuration the lanes do not run yet. |
| `409` | `rollout_final` | The rollout is completed or rolled back and does not change. Plan a new rollout. |
| `409` | `rollout_not_running` | The rollout is not running, so this change does not apply. Read the rollout and check its `status`. |
| `409` | `rollout_not_halted` | The rollout is not halted. Read the rollout and check its `status`. |
| `409` | `ring_unhealthy` | A lane of a ring that has the configuration is out of service or has a device in fault, so the next ring waits. Repair the device or open the lane, then advance again. |
| `409` | `nothing_to_retry` | The delivery is not waiting for another attempt. Read the delivery and check its `state`. |
| `409` | `nothing_parked` | The delivery is not parked. Read the delivery and check its `state`. |
| `409` | `endpoint_answering` | The event endpoint already answers. Retry or replay the deliveries that wait. |
| `409` | `endpoint_not_answering` | The event endpoint still does not answer. Fix your endpoint, check it again and replay. |
| `422` | `invalid_weight` | The weight is not a whole number of grams, or an own bag is lighter or heavier than the scale accepts. Report the weight as whole grams. An own bag weighs from 20 to 1500 grams. |

The full rule: [Developer guide](https://rdcopilot.com/docs/errors/)
