Browse
 
Tools
Rss Categories

Error Codes

Reference Number: AA-00599 Views: 18570 0 Rating/ Voters

 This is the comprehensive list of error codes that can be returned by any LumenVox API call.

                
                

List of Error Codes

  

LV_SUCCESS

Value:  0 

Description: No Error

LV_FAILURE

Value: -1 

Description: Speech Port not opened

LV_SYSTEM_ERROR

Value: -2 

Description: A system error was detected

LV_RESET

Value: -3 

Description: Port Reset

LV_BAD_SOUND_DATA

Value: -4 

Description: Sound Data is bad.

LV_INVALID_SOUND_FORMAT

Value: -5 

Description: An invalid sound format was specified

LV_TIME_OUT

Value: -6 

Description: A time out occurred

LV_GRAMMAR_SET_OUT_OF_RANGE

Value: -7 

Description: The specified grammar set is out of valid range.

LV_SOUND_CHANNEL_OUT_OF_RANGE

Value: -8 

Description: The specified sound channel is out of valid range.

LV_STANDARD_GRAMMAR_ALREADY_LOADED

Value: -9 

Description: A default grammar has already been loaded for this grammar set

LV_STANDARD_GRAMMAR_OUT_OF_RANGE

Value: -10

Description: Default grammar value not valid

LV_INVALID_PROPERTY_VALUE

Value: -11

Description: An invalid property value was specified

LV_INVALID_HPORT

Value: -12

Description: A bad port handle was detected

LV_NOT_IMPLEMENTED

Value: -13

Description: An attempt was made to call a function that is not currently implemented

LV_SOCKETS_ERROR

Value: -14

Description: An error occurred with a communication socket

LV_INVALID_PROPERTY_TARGET

Value: -15

Description: An invalid property target was specified

LV_INVALID_PROPERTY_VALUE_TYPE

Value: -16

Description: An invalid property value type was specified

LV_INVALID_PROPERTY

Value: -17

Description: An invalid property id was specified

LV_INVALID_PROPERTY_TARGET_NDX

Value: -18

Description: An invalid property target ndx was specified

LV_STREAM_NOT_ACCEPTED

Value: -19

Description: Streaming finished, call StartStream() to reset

LV_FUNCTION_NOT_FOUND

Value: -20

Description: Function not found in DLL

LV_STRING_BUFFER_TOO_SMALL

Value: -21

Description: String given was not large enough.

LV_NO_SERVER_AVAILABLE

Value: -22

Description: Can not connect to any servers.

LV_GRAMMAR_SYNTAX_WARNING

Value: -23

Description: Grammar compilation warning.

LV_GRAMMAR_SYNTAX_ERROR

Value: -24

Description: Grammar compilation error.

LV_GRAMMAR_LOADING_ERROR

Value: -25

Description: Can not load grammar from file.

  

LV_OPEN_PORT_FAILED__LICENSES_EXCEEDED

Value: -26

Description: All available licenses are in use.

LV_OPEN_PORT_FAILED__PRIMARY_SERVER_NOT_RESPONDING

Value: -27

Description: The designated primary server is not responding or unavailable.

LV_OPEN_PORT_FAILED__PRIMARY_SERVER_NOT_COMPATIBLE

Value: -28

Description: The designated primary server's version is not compatible with this client.

LV_OPEN_PORT_FAILED__OPEN_PORT_NOT_CALLED_YET

Value: -29

Description: clsPort has not called OpenPort.

  

LV_NO_SERVER_RESPONDING

Value: -30

Description: No ASR server is responding.

LV_GLOBAL_GRAMMAR_TRANSACTION_PARTIAL_ERROR

Value: -31

Description: Global grammar transaction partial error.

LV_GLOBAL_GRAMMAR_TRANSACTION_ERROR

Value: -32

Description: Global grammar transaction error.

LV_ACTIVE_GRAMMAR_VOCAB_SIZE_EXCEEDS_LIMIT

Value: -33

Description: The vocabulary size of active grammar set exceeds the licensed limit.

LV_INVALID_LICENSE

Value: -34

Description: An invalid license was detected.

  

LV_ACTIVE_GRAMMAR_LANGUAGE_CONFLICT

Value: -35

Description:  There is a language conflict in the active grammar set.

LV_ACTIVE_GRAMMAR_INVALID_LANGUAGE

Value: -36

Description: An invalid language was specified in the active grammar set.

  

LV_LOAD_GRAMMAR_TIMEOUT

Value: -37

Description: A grammar fetch timeout occurred

LV_INVALID_DICTIONARY_LANGUAGE

Value: -38

Description: An invalid dictionary language was specified

LV_WORDS_NOT_IN_DICTIONARY

Value: -39

Description: Some of the words are not in the dictionary  

LV_LVLANG_UNDEFINED

Value: -40

Description: The LVLANG environment variable is not defined

LV_LICENSES_EXPIRED

Value: -41

Description: The specified ASR server cannot be used with the available license

  

LV_NO_ANSWERS_AVAILABLE

Value: -42

Description: No ASR answers are available.

LV_INVALID_INDEX

Value: -43

Description: An invalid index was specified.

LV_INVALID_GRAMMAR_LABEL

Value: -44

Description: An invalid grammar label was specified.

LV_INVALID_SOUND_CHANNEL

Value: -45

Description: An invalid sound channel was specified.

LV_INVALID_EVENT

Value: -46

Description: Invalid ASR event.

LV_INVALID_BUFFER

Value: -47

Description: An invalid buffer was detected

LV_INVALID_GRAMMAR_OBJECT

Value: -48

Description: An invalid grammar object was specified. 

LV_INCOMPATIBLE_SRE_SERVER

Value: -49

Description: Incompatible ASR server. Try updating to the latest version.

LV_UNKNOWN_SERVER_ERROR

Value: -50

Description: An unknown error has occurred on the decode server.

  

LV_INVALID_TTS_HANDLE

Value: -51

Description: Invalid TTS handle (external). This is caused when attempting to use an invalid TTS handle.

LV_NO_TTS_SERVERS

Value: -52

Description: No TTS servers are available.

LV_INVALID_CLIENT_OBJECT

Value: -53

Description: Invalid internal object.

LV_INVALID_API_PARAMETER

Value: -54

Description: One or more parameters to an API function is/are invalid.

LV_NO_COMPATIBLE_TTS_SERVERS

Value: -55

Description: Either no TTS servers are active or none have the required capabilities needed to service the current request.

LV_SSML_ERROR

Value: -56

Description: SSML processing error.

LV_NO_RESULT_AVAILABLE

Value: -57

Description: Returned whenever operations are performed before results become available.

  

LV_ACQUIRING_LICENSE_FAILED

Value: -58

Description: Could not obtain a license.

LV_EXPIRED_LICENSE

Value: -59

Description: Current license does not permit using the version of the TTS server.

LV_INVALID_LICENSE_MAINT_DATE

Value: -60

Description: License maintenance expiry date is invalid. Please contact LumenVox support for assistance

  

LV_RESOURCE_ERROR

Value: -61

Description: Failed to allocate certain resources on the server in an effort to complete the requested operation.

LV_FAILED_VOICE_LOAD

Value: -62

Description: Failed to load a required voice on the TTS server.

LV_FAILED_NO_VOICE_SPECIFIED

Value: -63

Description: No voices specified in request. At least one voice is needed to perform text-to-speech.

LV_FAILED_STREAMER

Value: -64

Description: Failed to instantiate the synthesis object on the TTS server.

LV_FAILED_SYNTHESIS

Value: -65

Description: Actual synthesis itself failed on the TTS server.

LV_FAILED_AUDIO_RESAMPLING

Value: -66

Description: Resampling to the requested output sampling rate failed on the server.

LV_FAILED_AUDIO_CONVERSION

Value: -67

Description: Conversion of the audio from the native form to the requested type failed on the server.

LV_EXCEPTION

Value: -68

Description: An application exception occurred and was caught

LV_FUNCTION_DISABLED

Value: -69

Description: The selected function is currently disabled

 

Remarks

Not all the error codes are implemented.