Errors
The error object of the WMS 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
| 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 WMS
| Status | Code | Meaning |
|---|---|---|
422 | lead_required | Only the warehouse lead releases a wave. |
422 | approver_required | Only the warehouse lead approves a count. |
404 | task_not_found | There is no such pick task. |
404 | inbound_delivery_not_found | There is no such inbound delivery. |
404 | delivery_line_not_found | The delivery has no line for this item. |
404 | shipment_not_found | There is no such shipment. |
404 | order_not_found | There is no such order. |
404 | wave_not_found | There is no such wave. |
404 | count_not_found | There is no such count. |
404 | location_not_found | There is no such location. |
404 | dock_not_found | There is no such dock. |
404 | stock_not_found | There is no stock of this item and lot in this location. |
404 | worker_not_found | The person is not a user of your account. |
404 | item_not_found | There is no such item. |
404 | subscription_not_found | There is no such subscription. |
404 | operation_not_found | No change was recorded under this operationId. |
404 | event_not_found | The event does not exist, or it has not been delivered to a subscription yet. |
422 | number_taken | An order with this number exists. |
422 | wrong_location | This is not the location of the task. |
422 | wrong_item | This is not the item the task asks for. |
422 | too_many | The scan would bring more than the task asks for. |
422 | location_not_scanned | The location has to be scanned before the item. |
422 | already_at_location | The location of the task was already scanned. |
422 | task_closed | The task is confirmed or short and does not change any more. |
422 | task_skipped | The task is skipped. Resume it first. |
422 | task_not_skipped | Only a skipped task can be resumed. |
422 | pick_not_complete | Fewer units were scanned than the task asks for. Scan the rest or report the pick short. |
422 | pick_not_short | All the units were scanned, so the pick is not short. Confirm it. |
422 | task_has_scans | Units were scanned on this task. Confirm it or report it short. |
422 | stock_insufficient | The location holds fewer units than were scanned. |
422 | lot_expired | The lot has passed its date and is not picked. |
422 | wave_released | The wave is already released. |
422 | nothing_to_pick | No stock within its date covers the orders of this wave. |
422 | already_planned | An order is already in a wave. |
422 | delivery_not_scheduled | Only a scheduled delivery arrives. |
422 | dock_busy | Another delivery stands at this dock. |
422 | delivery_not_open | The delivery has not arrived, or it is closed. |
422 | line_already_received | The line was already counted. |
422 | quantity_over_expected | Good and damaged units together exceed what was expected. Flag the surplus. |
422 | no_difference | The line has no such difference. |
422 | difference_flagged | This difference is already flagged. |
422 | location_not_storage | Goods are put away to a shelf, not to a dock or a pack station. |
422 | wrong_zone | The cold items go to the cold room and the others do not. |
422 | nothing_to_put_away | Every counted unit of this line is already on a shelf. |
422 | not_put_away | The delivery still has units on the dock. |
422 | difference_not_flagged | A gap or damaged units are not flagged for the supplier. |
422 | nothing_picked | Nothing of this item was picked for the order. |
422 | picking_open | Some tasks of the order are not confirmed or short yet. |
422 | not_all_packed | Picked units are still in the tote. |
422 | weight_mismatch | The weight is outside the 3% tolerance. |
422 | weight_missing | The shipment has no accepted weight. |
422 | service_missing | The shipment has no carrier service. |
422 | label_printed | The label is printed, so the shipment is closed. |
422 | label_missing | The label is not printed yet. |
422 | already_dispatched | The shipment is already with the carrier. |
422 | nothing_to_ship | No unit was picked for this order. |
422 | count_requested | A count of this shelf is already open. |
422 | location_busy | A picker is scanning at this location. |
422 | count_not_open | The count was already entered. |
422 | count_not_counted | The count has not been entered, or it is approved. |
422 | own_count | A count is approved by someone other than the person who entered it. |
422 | stock_changed | The stock moved after the count. Count again. |
422 | code_not_recognized | The scanned code is not a location or an item. |
422 | quantity_not_valid | The quantity is not a whole number of at least 1, or it is too large. |
422 | reason_not_valid | The reason is not one of the values of the operation. |
422 | lot_not_valid | A lot is capital letters, digits and hyphens, from 3 to 20 characters, and an item with a date needs one. |
422 | expiry_not_valid | The date is not a real day. |
422 | lot_ended | The lot has already passed its date, so it is not received. |
422 | lot_not_allowed | This item has no lot or date. |
422 | kind_not_valid | The kind is not one of the values of the operation. |
422 | weight_not_valid | The weight is not a whole number of grams, from 1 gram to 40 tonnes. |
422 | service_not_valid | The service is not one of the values of the operation. |
422 | count_not_valid | The counted quantity is not a whole number of at least 0. |
422 | number_not_valid | A number is capital letters, digits and hyphens, from 3 to 20 characters. |
422 | text_not_valid | The text is empty or longer than 200 characters. |
422 | date_not_valid | The date is not a real day, or it is earlier than today. |
422 | lines_required | There is not a single line. |
422 | orders_required | No order is named. |
422 | line_repeated | An item appears on two lines. |
The full rule: Developer guide