Error codes
The codes that pick results and station status can carry.
Operation results can carry errorCode and errorDescription. Station-state events can carry reasonCode.
Missing result quantities remain unknown and are never replaced with invented zeroes.
The current station integration can report the codes below. The customer error fields are strings, not a closed enum; handle unknown values safely. These groups aid scanning and do not prescribe recovery actions.
Source bin and item
SOURCE_BIN_EMPTY, INSUFFICIENT_ITEMS_IN_SOURCE_LOCATION, ITEM_NOT_PICKABLE, INCOMPATIBLE_ITEM, OBJECT_NOT_FITTING
Pick and place
PICK_FAILED, UNKNOWN_AREA, PLACE_FAILURE, TARGET_BIN_FULL, ITEM_STICKING_OUT_BIN, GHOST_PICK, DOUBLE_PICK, ITEM_DROPPED_SAFE, ITEM_DROPPED_UNSAFE, ITEM_DROPPED_RECOVERABLE
Barcode
BARCODE_SCAN_FAILURE, BARCODE_NOT_COMPARED, BARCODE_NOT_MATCHED
Station and hardware
INTERNAL_ERROR, DOOR_OPEN, EMERGENCY_STOP, CAPTO_UNAVAILABLE, ROBOT_FAILURE, CAMERA_FAILURE, LOW_AIR_PRESSURE, GRIPPER_FAILURE, ENGINE_RESTART
Control
MAX_RETRIES_REACHED, STOP_REQUESTED, REQUEST_CANCELLED
Where they appear
| Object | Code field | Text field | Arrives in |
|---|---|---|---|
| OperationResult | errorCode | errorDescription | Task reads, task events and operation events |
| StationStateChanged | reasonCode | None | Typed station-state event |
Task reconciliation reasons
Task views and task-state events can also carry reasonCode:
| Reason | Action |
|---|---|
ARM_OUTCOME_UNKNOWN | Investigate the reserved command; do not create replacement physical work blindly. |
CONFIGURATION_CHANGED | Check the installation mappings and command destinations before continuing. |
ACTIVE_BIN_REMOVED | Reconcile actual port occupancy and active work. |
CALLBACK_IDENTITY_MISMATCH | Investigate the reported order, product and bin identities. |
RESULT_BEFORE_SUBMISSION | Investigate the unexpected result. |
CALLBACK_CONFLICT | Preserve the first result and investigate the conflicting evidence. |
RESULT_REQUIRES_RECONCILIATION | Physical execution ended, but result accounting needs investigation. |
ARM_SUBMISSION_REJECTED | The station rejected the submitted operation; remaining work did not run. |
OPERATION_NOT_SUCCESSFUL | Partial or failed work stopped further contributions. |
INVALID_ARM_RESULT is an operation error indicating invalid quantities. The outcome becomes UNKNOWN; invalid counts are omitted from the result.