Handle a Tip Pickup instrument error
This page provides a demo on how to effectively receive and handle an instrument error.
The demo runs a method that invokes a Tip already picked up error by using a 1 mL Tip Pickup step configured with a 15-second timeout.
Register as the error handler
In order to receive instrument error information, an error handler must be registered.
The code sample provided contains a user-defined key (testAppKey) to register as an error handler. The user-defined key is used with the instrument action, recovery, and error deregistration (unregister) performed.
Go to Register an error handler for more information.
curl 'https://{{your_venus_webapi_ip_address}}/api/vector/v3/error-handler' \
--request POST \
--header 'Authorization: Bearer <token>' \
--data '"string"'Subscribe to instrument error events
Error handlers are notified when an error occurs and when an error has been handled through two events provided by the VENUS SignalR hub (InstrumentErrorHandled and DeviceErrorHandledResponse). The code snippet provided is for reference only.
import * as signalR from '@microsoft/signalr';
this.connection = new signalR.HubConnectionBuilder()
.withUrl('http://localhost:42400/signalr', {
skipNegotiation: true,
withCredentials: false,
transport: signalR.HttpTransportType.WebSockets,
}).withAutomaticReconnect()
.build();
// InstrumentErrorEvent occurs on instrument error
this.connection.on("InstrumentErrorEvent", (data: ErrorData) => {
console.log(data);});
// DeviceErrorHandledResponse occurs on instrument recovery
this.connection.on("DeviceErrorHandledResponse", (data: InstrumentErrorHandled) => {
console.log(data);
})Invoke an error
Load and run a method in an environment to provide a "Tip already picked up" error. Go to Run a method for instructions on how to load and run a method.
Receive an error
When a tip pickup error occurs, the SignalR hub notifies clients using the On Instrument Error event, which contains the instrument error data payload. This error data is also available on a list, which can be obtained using the GET instrument-errors/unhandled endpoint.
The JSON error data from the example response provides a 1000 µL tip pickup error that occurred on a VANTAGE instrument on Channel 1. The detailed error for Channel 1 provides a description with "Tip already picked up". The error also includes an action to cancel automatic recovery and recovery actions to recover the error. If automatic recovery is active, the instrument executes the default recovery action automatically.
Go to Receive instrument error information for more information.
curl 'https://{{your_venus_webapi_ip_address}}/api/vector/v3/instrument-errors/unhandled' \
--header 'Authorization: Bearer <token>'Perform an action
This demo cancels automatic recovery. The code sample provides an example request body used to perform the action.
To cancel automatic recovery, use the information provided in the error data's action named Cancel automatic recovery with the action endpoint POST /api/vector/v3/instrument-errors/{uuid}/action, where uuid is the UUID of the error.
After executing this action, automatic recovery is canceled and the On Instrument Error event occurs. The event includes a payload to update the error with the same UUID 88922548-5225-4b3d-9649-d1827147b774. The updated error information no longer contains the action to cancel automatic recovery, and the timeout is set to -1.
Go to Instrument actions for more information.
curl 'https://{{your_venus_webapi_ip_address}}/api/vector/v3/instrument-errors/<uuid>/action' \
--request POST \
--header 'Authorization: Bearer <token>' \
--data '{
"date": "2026-01-01T00:00:00Z",
"uuid": "00000000-0000-0000-0000-000000000000",
"detailedErrorRecoveries": [
{
"date": "2026-01-01T00:00:00Z",
"uuid": "00000000-0000-0000-0000-000000000000",
"inputs": [],
"selectedActionId": 0,
"selectedActionIsRecovery": true
}
],
"inputs": [
{
"id": 0,
"value": "string"
}
],
"selectedActionId": 0,
"selectedActionIsRecovery": true,
"errorHandlingKey": "string"
}'Recover an error
An error is recovered by executing the waste recovery.
The code sample provides an example request body used to perform the waste recovery. The recovery won't use the default waste recovery and ejects to destination MaintenanceNeedles with sequence counting set to Automatic.
After executing the recovery, the On Instrument Error Handled SignalR event is triggered. The event payload contains the main recovery action used along with the unique identifier (uuid) of the error recovered.
There is a difference in how certain arm channels represent default waste in the waste recovery. For example, the default waste appears differently in the 1 mL channels compared to the 1000 µL X1 channels. The 1 mL channel provides a separate input for the default waste recovery, whereas the X1 channels provide the default waste destination as its own option. Although they are represented differently, they have the same function.
Go to Instrument recoveries for more information.
curl 'https://{{your_venus_webapi_ip_address}}/api/vector/v3/instrument-errors/<uuid>/recovery' \
--request POST \
--header 'Authorization: Bearer <token>' \
--data '{
"date": "2026-01-01T00:00:00Z",
"uuid": "00000000-0000-0000-0000-000000000000",
"detailedErrorRecoveries": [
{
"date": "2026-01-01T00:00:00Z",
"uuid": "00000000-0000-0000-0000-000000000000",
"inputs": [],
"selectedActionId": 0,
"selectedActionIsRecovery": true
}
],
"inputs": [
{
"id": 0,
"value": "string"
}
],
"selectedActionId": 0,
"selectedActionIsRecovery": true,
"errorHandlingKey": "string"
}'Unregister as the error handler
To unregister the error handler, use the same key used to register (testAppKey).
Go to Unregister an error handler for more information.
curl 'https://{{your_venus_webapi_ip_address}}/api/vector/v3/error-handler' \
--request DELETE \
--header 'Authorization: Bearer <token>' \
--data '"string"'