Error codesΒΆ

The following table shows the error codes generated by the CPQD ASR, registered in the log or returned by the WebSocket and REST APIs.

Code

Description

ERR_GENERIC

Generic error with no details

ERR_INVALID_ARGUMENT

A function was called with invalid arguments

ERR_BUFFER_OVERFLOW

Insufficient memory to run the operation (error trying to receive audio larger than free space)

ERR_BAD_ALLOC

Error allocating memory

ERR_INTERNAL_ERROR

Unspecified internal error

ERR_INVALID_STATE

Errors in active sessions - Invalid status

ERR_ENGINE_NOT_FOUND

Engine not found

ERR_RECOG_CREATE

Error creating recognition

ERR_SESSION_NOT_FOUND

Session not found

ERR_PATH_READ

Invalid path in configuration file

ERR_ARG_INVALID

Invalid argument in configuration file

ERR_FILE_OPEN

Error opening file

ERR_RESULT

Error generating recognition result

ERR_NO_ACTIVE_LM

No language model activated for recognition

ERR_MAX_LICENSES

Error when reaching maximum number of active licenses

ERR_LIC_NOT_FOUND

License file not found

ERR_LIC_PARSER

Error reading license file

ERR_LIC_EXPIRATION

Date license expired

ERR_LIC_UNAUTHORIZED

License not authorized for operation

ERR_LIC_HARD_INFO

Machine not authorized by license

ERR_NOT_LISTENING_AUDIO

Error receiving audio when session is not in LISTENING status

ERR_BUSY

Status in which the session does not allow parameter values to be changed

ERR_INVALID_PARAMETER

Parameter does not exist or its value cannot be changed

ERR_INVALID_PARAMETER_VALUE

Entered value is not valid for the parameter

ERR_CONFIG_NOT_FOUND

Configuration object not found

ERR_NO_DATA

Requested data is unavailable

ERR_NO_ROOT_RULE

Grammar did not declare root rule

ERR_LM_TYPE

Language model type not valid for this operation.

ERR_INTERP_NOT_FOUND

Requested interpretation does not exist

ERR_NO_LICENSE_FOR_LM

Language model used in recognition not authorized by license

ERR_LM_NOT_FOUND

Indicated language model not found

ERR_REQUIRED_AM_NOT_LOADED

Used language model requires an acoustic model that is not loaded

ERR_CORRUPTED_LM

Indicated language model is corrupted

ERR_LIC_SRV_GENERIC

Unable to register on the license server

ERR_LIC_SRV_CONNECTION

Unable to connect to the license server

ERR_LIC_SRV_EXPIRED_LIC_ID

License ID expired

ERR_LIC_SRV_INVALID_LIC_ID

Invalid license ID

ERR_LIC_SRV_NOT_AVAILABLE

Unable to allocate the requested resources - the number allowed by the license has already

ERR_LIC_SRV_MAX_CHANNELS

Unable to allocate the requested resources - available amount exceeded

ERR_LIC_SRV_UNREGISTER

Unable to release allocated resources on the license server