CLI Reference Guide

6 Appendix II: Error codes
The following table provides a summary of all possible API error codes returned when something does not
work as expected, or in some cases, to inform of a situation needing attention from the user/operator side,
possibly requiring a retry of the failed operation. The generic error message indicates the category of the
error, but the description is different for each API call, providing more detailed information of each case.
Table 6-1 API Error codes
Error code Old error codes (*NSE) Generic description
-1 -11 Product not licensed.
-2 -8 Invalid request parameters.
-3 -10 Error parsing request xml payload.
-4 The given admin password is invalid. Please update it (non-
FutureSmart only)
-5 -5 Id not corresponding to a valid job.
-6 -8 Job settings could not be loaded.
-7 -8 Unexpected error creating zip file.
-8 Unsupported scan settings.
-9 n/a
-10 -7 Device is busy. Please repeat operation within a few seconds.
-11 -9 Unsupported media size value.
-12 -4 Unexpected error.
(*) Old error codes indicate values that product NSE notified on similar situations. They are provided as a
reference for backwards compatibility for programmers adapting client applications for integration with HP
Embedded Capture API.
41