Take Sample Errors

The following errors may be encountered with the Take Sample message:

Exception Code Exception Message
BADITEMSTATE Cannot perform operation on serial number <serial number> with item state <item state>. This operation can only be performed when the serial number is <item state>.
BADSTATETRANSITION Cannot perform operation on serial number <serial number> to change item state/serial number state from <serial number state> to <serial number state>. The allowed new states are <serial number states>.
EVENTTIMEAFTERNOW Event time stamp must not be in the future.
EVENTTIMEBEFORELASTEVENT Event time stamp is earlier than the last event for serial number <serial number>.
INTERNALERROR SerialNumberState for <serial number> is null.
INTERNALERROR Internal error from server: <server information>.
INTERNALERROR ItemStateTransitions.properties did not load correctly.
INTERNALERROR SerialNumberStateTransitions.properties did not load correctly.
NOTCOMMISSIONED Serial number <serial number> is not commissioned.
NOTEACH Cannot perform operation on serial number <serial number> with UOM <unit of measurement>. The operation can only be performed on unit level serial numbers.
NOTEMPTY Operation could not be performed because serial number <serial number> is not empty.
NOTVALIDLOCATION Location <location identifier> was not valid for serial number <serial number>.
SNNOTFOUND Serial number <serial number> does not exist.
VALIDATION Reason Code is required for products sampled in Russia.
VALIDATION Sample Party is required for products sampled in Russia.