Previous Topic: ExceptionsNext Topic: CA ArcotID OTP Java Library Developer's Guide


Error Codes

The following table lists the error codes returned by ArcotID OTP APIs:

Code

Code Message

Description

Default Errors

1

E_UNKNOWN

Internal error.

Storage Errors (10-19)

11

E_STORE_WRITE

There was an error while saving the account.

12

E_STORE_READ

There was an error while reading the account.

13

E_STORE_DELETE

There was an error while deleting the account.

14

E_STORE_ACCESS

There was an error while accessing the account.

User Input Errors

31

E_BAD_NS

The namespace is invalid.

32

E_BAD_XML

The XML response from the server is invalid.

33

E_BAD_ID

The user identifier is invalid.

34

E_BAD_ACCOUNT

The account is invalid.

35

E_BAD_PIN

The format of the PIN is invalid.

36

E_BAD_ALGO

The algorithm used for generating passcode is invalid.

37

E_BAD_CS

The ArcotID OTP card string is invalid.

38

E_BAD_ATTR

The attributes of the ArcotID OTP card passed are invalid or reserved attributes are being set.

Processing Errors

41

E_PROC_SERVER

The AuthMinder Server returned an error.

42

E_PROC_XML

There was an error while processing the input XML.

43

E_PROC_DEVLOCK

There was an error while locking the ArcotID OTP to the device.

ArcotID OTP Card Errors

51

E_TOTP_TIME

The timestamp passed for OTP generation is invalid.

52

E_CAP_MODE

The Client Authentication Program (CAP) mode used for generating passcode is invalid.

53

E_CAP_AA

The amount key is either not passed or the key length is incorrect.

54

E_CAP_TDS

The key to specify Mode2TDS mode is either not passed or the key length is incorrect.

55

E_CAP_TRCC

The currency challenge key is either not passed or the key length is incorrect.

56

E_CAP_UN

The challenge key is either not passed or the key length is incorrect.