Salience

The Salience Developer Hub

Welcome to the Salience developer hub. You'll find comprehensive guides and documentation to help you start working with Salience as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Errors and Warnings

Errors

Calls to methods in the Salience 6 API can return the following error codes:

Error Code

Error Words

Example Error Message

-1

LXA_ERROR

"General error."

0

LXA_OK

"Success."

1

LXA_NODOCUMENT

2

LXA_INVALID_LICENSE

"The supplied license is invalid for this component."

3

LXA_ERROR_PREPROCESSING

"Text preprocessing failed."

4

LXA_INVALID_PARAM

"Invalid API Parameter."

5

LXA_INVALID_PATH

"The supplied path is invalid."

6

LXA_OK_WITH_WARNINGS

7

LXA_INVALID_SESSION

"Invalid Session"

8

LXA_INVALID_FILEFORMAT

9

LXA_TIMEOUT

"The requested operation has timed out"

10

LXA_API_ABUSE

"Need to to text preparation before analytics processing"

There is an implicit sequence to document processing in the text analytics pipeline:

  1. session opening
  2. text preparation
  3. OCR correction (optional)
  4. analytics processing
  5. session closing
    Any API calls out of sequence will give rise to this error

11

LXA_API_DEPRECATED

12

LXA_INVALID_OPTION

13

LXA_SESSIONS_EXCEEDED

14

LXA_CONFIG_ID_IN_USE

15

LXA_INVALID_CONFIG

16

LXA_UNAVAILABLE_IN_CURRENT_SESSION

17

LXA_INVALID_BASIC_LANGUAGE

Warnings

The following warning codes are relevant to LXA_OK_WITH_WARNINGS.

0

LXA_WARNING_NONE

1

LXA_WARNING_LARGE_DOCUMENT

2

LXA_WARNING_NON_UTF8

4

LXA_WARNING_NO_WHITESPACE

8

LXA_WARNING_NO_PUNCTUATION

16

LXA_WARNING_NO_CRF_ENTITIES

32

LXA_WARNING_SENTENCES_WITHOUT_PARSES

Updated 2 months ago

Errors and Warnings


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.