Feedback

  • Contents
 

Error Handling

Most Reco Tools return errors in the form of an error code and description. The following table provides a summary of those error codes.

Code

Description

connection.disconnect

Call disconnected during the operation.

noinput

No input provided during the timeout period.

nomatch

Input provided didn't match any grammars.

maxspeechtimeout

Maximum speech timeout exceeded.

com.inin.input.escape

Escape key pressed.

com.inin.input.tone

Fax tone detected.

error

Unspecified error occurred

error.unsupported.format

Specified (media) type for the resource not supported.

error.unsupported.language

Specified language not supported.

error.unsupported.builtin

Specified built-in grammar not supported.

error.noresource

Operation failed because the resource limit was reached.

error.noresource.license

Operation failed because a license was unavailable. For example, ASR port license.

error.noresource.cpustarvation

Recognition stopped because of excessive CPU load.

error.noauthorization

Operation failed because user didn't have the appropriate permissions (does not include file access errors).

error.semantic

Runtime error occurred. For example, attempt to divide by 0.

error.com.inin

PureConnect-specific error prefix.

error.com.inin.interaction_id

Specified interaction ID is invalid (not a known interaction).

error.com.inin.interaction_type

Specified interaction type is invalid (not a call).

error.com.inin.inputmodes

Specified input modes are invalid (mask to degenerate case).

error.com.inin.ownership

Specified ownership token does not represent the current owner of the interaction or the ownership was lost.

error.com.inin.parameter[.name]

Specified parameter is invalid.

error.com.inin.mode

Error related to the modes.

error.com.inin.mode.invalid

Specified mode is invalid.

error.com.inin.type

Media (MIME) type error occurred.

error.com.inin.type.invalid

Specified media type is invalid.

error.com.inin.unsupported

Operation or function not supported.

error.com.inin.timeout

Operation timed out.

Note: This error is not an input timeout (which returns "throughnoinput"). For Notifier operations, it corresponds to MSG_TIMEDOUT.

error.com.inin.win32.<xxx>

Common Win32 error. <xxx> is the numeric error code.

error.com.inin.cancelled

Operation canceled for some reason.

error.com.inin.internal

Unspecified internal error occurred (see trace log).

error.com.inin.shutdown

A system is in the process of shutting down or is shut down already.

error.com.inin.notifier

Notifier error prefix.

error.com.inin.notifier.rejected

Notifier request rejected (subsystem down?). Corresponds to MSG_REJECTED.

error.com.inin.notifier.noconn

No Notifier connection exists. Corresponds to MSG_NOCONNECTION.

error.com.inin.notifier.cancelled

Notifier operation canceled. Corresponds to MSG_CANCELLED.

error.com.inin.notifier.badconn

Notifier connection failed or shut down. Corresponds to MSG_BADCONNECTION.

error.com.inin.notifier.wokeup

Notification loop woke up. Corresponds to MSG_WOKEUP.

error.com.inin.reco.session.inactive

Operation is only valid when a Reco session was created (and operation doesn't create a session automatically).

error.com.inin.reco.session.tied

Cannot change the ASR engine as the session already has an engine and the engine disallows changes.

error.com.inin.reco.asr

ASR server or engine integration error.

error.com.inin.reco.asr.engine

ASR engine error.

error.com.inin.reco.asr.engine.unknown

Specified ASR engine not supported.

error.com.inin.reco.asr.engine.parameter

Specified ASR engine parameters are invalid.

error.com.inin.reco.asr.engine.error

Error occurred starting the ASR engine.

error.com.inin.reco.feature

Specified feature not supported.

error.com.inin.reco.busy

Recognition is active; cannot execute the operation.

error.com.inin.reco.property.unknown

Attempt to access an unknown property.

error.com.inin.reco.property.read_only

Attempt to modify a read-only property.

error.com.inin.reco.property.invalid_value

Attempt to set an invalid property value.

error.com.inin.reco.customop.unknown

Attempt to invoke a custom operation that's unknown or not supported.

error.com.inin.reco.verifier

Speaker training, verification, or identification error.

error.com.inin.reco.verifier.key

Key specified for verification or identification not found.

error.com.inin.grammar

Unregistered Grammar ID or undefined value type specified.

error.com.inin.grammar.unknown

Unknown or invalid grammar specified for input or unregistering.

error.com.inin.grammar.id.duplicate

Specified Grammar ID in use already.

error.com.inin.grammar.id.invalid

Specified Grammar ID is invalid. For example, format or syntax.

error.com.inin.grammar.rendering

Failed to render the grammar into an ASR engine-specific grammar.

error.com.inin.grammar.language

Language error occurred. Most likely, the grammar contains an unsupported language or engine doesn't support language attachments.

error.com.inin.grammar.tags

Error related to the semantic interpretation tags of the grammar occurred. For example, engine integration doesn't support global SI tags.

error.com.inin.grammar.runtime.sisr

Runtime error occurred interpreting the tags as SISR scripts.

error.badfetch

Fetching the grammar data or compilation failed.

error.badfetch.uri

URI used to designate the grammar is invalid.

error.badfetch.builtin

Built-in grammar URI is invalid (mode or type).

error.badfetch.encoding

Invalid character encoding specified.

error.badfetch.grammar

Compilation of the grammar failed.

error.badfetch.grammar.syntax

Compilation of the grammar failed because of a syntax error.

error.badfetch.grammar.syntax.sisr

Compilation of the grammar failed because the content of a tag is not a valid SISR script.

error.badfetch.grammar.mode

Grammar has a different mode than specified in the tool.

error.badfetch.grammar.type

Media type of the grammar not supported, invalid, or doesn't match the data.

error.badfetch.grammar.size

Grammar data size is excessive.

error.badfetch.file.notfound

File not found.

error.badfetch.file.accessdenied

Access to the file denied.

error.badfetch.file.sharingviolation

Sharing violation occurred.

error.badfetch.file.win32.<xxx>

Some other error occurred. <xxx> is Win32 error code.