QIX

v12.1394.0

The JSON-RPC API over websocket that enables you to interact with the Qlik Associative Engine.

The QIX API is the primary API used for working with Qlik apps. It's based on the WebSocket protocol and requires some specific parameters to work correctly as seen below.

WebSockets

When you want to use the API, any websocket client implementation that follows the RFC specification should be supported. The URL format is:

wss://your-tenant.us.qlikcloud.com/app/<app id>

Browser example:

const websocket = new WebSocket('wss://your-tenant.us.qlikcloud.com/app/123e4567-e89b-12d3-a456-426655440000');

Headers

In a non-browser environment, most websocket client implementations support to add headers.

Use header Authorization: Bearer <token> with API key for authentication.

Session sharing

When using the QIX API you build up a state in what's called a session. A session is based on a tenant, a user, and the app. When opening a new websocket you'd either get a new unique session, or get attached to an existing session. When sharing a session, the state (like selections), is shared between all websocket connections.

The conditions for sharing a session is:

  • The websocket URL needs to be identical (tenant URL and app id)
  • The user needs to be the same:
    • in a browser environment the same user needs to be signed in
    • in a non-browser environment an API key from the same user and tenant needs to be used

JSON-RPC protocol

The QIX API leverages the JSON-RPC protocol. It implements a superset of this specification. All requests sent from the client should contain the following properties:

{
  // Protocol descriptor:
  "jsonrpc": "2.0",
  // Session-unique numeric id, referred to in the response
  // to connect the request and response:
  "id": 6,
  // The handle for the object to interact with:
  "handle": 2,
  // The object type of the handle above decides
  // which API methods you may invoke:
  "method": "ApiMethodName",
  // Parameters for the invoked API method:
  "params": {}
}

Request and response

Here is an example request/response pair. Note that there is only one static handle in the QIX API, and that's -1. This handle refers to the Global API.

In this example request, an app is opened using OpenDoc. If successful, the response contains a reference to the app handle, which can be used to do further requests towards the Doc (app) API, and so forth.

{
  "jsonrpc": "2.0",
  "id": 1,
  "handle": -1,
  "method": "OpenDoc",
  "params": {
    "qDocName": "<app id>"
  }
}

If that app exist, the response would look similar to this:

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "qReturn": {
      "qType": "Doc",
      "qHandle": 1,
      "qGenericId": "<app id>"
    }
  },
  "change": [1]
}

Note that qHandle contains the handle that might be used to make additional requests to invoke API methods towards the app. A property called change is also received on the response, an array that can be sent by QIX Engine on any responses and contains all open handles in your session that may have been invalidated and you should refetch data to ensure your application in a valid state.

Session apps

Session apps are non-persisted Qlik Sense apps created on-the-fly in server memory by the Qlik Associative Engine. You have to define a load script and trigger a data reload before any data model is accessible for each user session. Similarly, if you create a session app from an existing app, you have to trigger a reload after retrieving objects from the template app.

Session apps are attached to the active Qlik Associative Engine session. When a session ends, for example, by the user logging out, the session app is terminated and all related resources are released from server memory. Standard Qlik security rules ensure that only authenticated users can access data and visualizations from a session app.

WebSocket URL for session apps

The WebSocket URL for creating a session app has the following format:

wss://my-tenant.us.qlikcloud.com/app/SessionApp_{appId}

You must append a unique app ID to SessionApp_ in the path. The app ID can be a code-generated random number.

To create a session app from an app, you must add the template app ID as a query parameter to the URL:

wss://my-tenant.us.qlikcloud.com/app/SessionApp_{appId}?from={templateAppId}

Error Handling

When something happens unexpectedly, the WebSocket may be closed with an error code and message. The error code will be a 4-digit number and the message may or may not be empty. The code below should be used for monitoring this.

ws.on("close", (code, message) => {
    console.log(code);
    console.log(String(message));
});
4204
{"code":"QEP-104","traceId":"491a33e544de8dda40a9fc9b0cb53216"}

The following is a list of error codes and their causes:

  • 4202 - the WebSocket request appears to be malformed
  • 4203 - the request could not be fulfilled because of a permissions issue
  • 4204 - the request failed because something could not be found, this may be because the app id in the URL is wrong or the app has been deleted
  • 4205 - the request could not be fulfilled because the system is busy, consider sending the request again later

API references

For the API references, see the different classes listed in the left-side menu.

errors

errorsGenericErrors

oneOf

-128

-1

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

400

401

402

403

404

405

406

407

408

409

410

411

412

413

414

415

416

417

422

429

500

501

502

503

504

505

509

700

1000

1001

1002

1003

1004

1005

1006

1007

1008

1009

1010

1011

1012

1013

1014

1015

1016

2000

2001

2002

2003

2004

2005

2300

2301

3000

3001

3002

3003

3004

3005

3006

4000

4001

5000

5001

5002

5003

5004

5005

5006

5007

5008

5009

6000

6001

6002

6003

7000

7001

7002

7003

7004

7005

7006

7007

7008

7009

7010

7011

7012

7013

7014

8000

8001

8002

9000

9001

9002

9003

9004

9005

9006

9007

9008

9009

9010

9510

9511

10000

11000

11001

11002

11003

11004

11005

11006

11007

11008

11009

11010

11011

11012

11013

11014

11015

11016

11017

11018

11019

11020

11021

11022

11023

11024

11025

11026

11027

11028

11029

11030

11031

11032

11033

11034

11035

11036

11037

11038

11039

11040

11041

11042

11043

11044

11045

11046

11047

12000

12001

12002

12003

12004

13000

13001

14000

15000

16000

16001

16002

16003

16004

16005

16006

16007

16008

17000

17001

18000

18001

18002

19000

19001

19002

19003

19004

20000

-32600

-32601

-32602

-32603

-32700

33000

33001

33002

33003

33004

33005

33006

33007

22000

22001

22002

22003

22004

22005

22006

22007

22008

22009

22010

22011

22012

22013

22014

22015

22016

23001

23002

23003

23004

23005

23006

23007

23008

23009

23010

23011

23012

23013

23014

23015

23016

23017

24000

24001

25000

25001

30000

30001

30002

30003

30004

30005

30006

30007

30008

30009

30010

30011

30012

30013

30014

30015

30016

30017

30018

30019

30020

30021

30022

30023

30024

30025

30026

30027

30028

30029

30030

30031

30032

30033

30034

30100

30101

30200

30201

30210

30211

30212

30220

30221

30222

30223

30224

30225

30226

30227

30228

30229

30230

30231

30232

30233

30234

30235

30236

30237

errorsLOCERR_APP_ALREADY_EXISTS

1000
const

App already exists

errorsLOCERR_APP_ALREADY_OPEN

1002
const

App already open

errorsLOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE

1009
const

App already open in different mode

errorsLOCERR_APP_CONNECT_FAILED

1008
const

Failed to connect to app

errorsLOCERR_APP_CREATE_FAILED

1006
const

App creation failed

errorsLOCERR_APP_DIRECT_QUERY_WORKLOAD_NOT_SUPPORTED

1016
const

Unknown error

errorsLOCERR_APP_EXPORT_FAILED

1014
const

App export failed

errorsLOCERR_APP_IMPORT_FAILED

1004
const

App import failed

errorsLOCERR_APP_INVALID

1007
const

App invalid

errorsLOCERR_APP_INVALID_NAME

1001
const

Invalid app name

errorsLOCERR_APP_MIGRATION_COULD_NOT_CONTACT_MIGRATION_SERVICE

1010
const

App migration service could not be contacted

errorsLOCERR_APP_MIGRATION_COULD_NOT_START_MIGRATION

1011
const

Could not start the app migration

errorsLOCERR_APP_MIGRATION_FAILURE

1012
const

Migration service could not migrate app

errorsLOCERR_APP_NOT_FOUND

1003
const

App not found

errorsLOCERR_APP_SAVE_FAILED

1005
const

App save failed

errorsLOCERR_APP_SCRIPT_MISSING

1013
const

Unknown error

errorsLOCERR_APP_SIZE_EXCEEDED

1015
const

Static App size exceeded

errorsLOCERR_BDI_GENERIC_ERROR_NOT_TRANSLATED

24001
const

Direct Query Mode error

errorsLOCERR_BDI_STATUS_OK

24000
const

OK

errorsLOCERR_CALC_EVAL_CONDITION_FAILED

7005
const

Calculation condition unfulfilled

errorsLOCERR_CALC_HEAP_ERROR

7002
const

Out of object memory

errorsLOCERR_CALC_INVALID_COL_SORT

7008
const

Invalid properties sort order

errorsLOCERR_CALC_INVALID_DEF

7000
const

All expressions disabled

errorsLOCERR_CALC_MISSING_LINKED

7007
const

Direct query attempted against missing or non-direct table

errorsLOCERR_CALC_MISSING_LINKED_FIELD

7013
const

A direct table field is missing

errorsLOCERR_CALC_MIXED_LINKED_AGGREGATION

7006
const

Mixed DBMS and in-memory aggregation is not supported

errorsLOCERR_CALC_NOT_CALCULATED

7014
const

A calculation condition stopped the calculation

errorsLOCERR_CALC_NOT_IN_LIB

7001
const

Dimension or measure not in library

errorsLOCERR_CALC_PAGES_TOO_LARGE

7009
const

Calculation pages too large

errorsLOCERR_CALC_PIVOT_DIMENSIONS_ALREADY_EXISTS

7012
const

The pivot dimensions already exist

errorsLOCERR_CALC_SEMANTIC_FIELD_NOT_ALLOWED

7010
const

Semantic fields not allowed in calculation

errorsLOCERR_CALC_TIMEOUT

7004
const

Calculation timed out

errorsLOCERR_CALC_TOO_LARGE

7003
const

Too many cells

errorsLOCERR_CALC_VALIDATION_STATE_INVALID

7011
const

The object is not in a valid data state

errorsLOCERR_CONNECTION_ALREADY_EXISTS

2000
const

Connection already exists

errorsLOCERR_CONNECTION_FAILED_TO_IMPORT

2003
const

Failed to import connection

errorsLOCERR_CONNECTION_FAILED_TO_LOAD

2002
const

Failed to load connection

errorsLOCERR_CONNECTION_MISSING_CREDENTIALS

2005
const

Connection is missing credentials

errorsLOCERR_CONNECTION_NAME_IS_INVALID

2004
const

Connection name is invalid. Should be 1-256 characters and not contain <>:"/|?*

errorsLOCERR_CONNECTION_NOT_FOUND

2001
const

Connection not found

errorsLOCERR_CONNECTOR_FILESIZE_EXCEEDED_BUFFER_SIZE

2301
const

Data file size exceeded file streaming buffer size

errorsLOCERR_CONNECTOR_NO_FILE_STREAMING_SUPPORT

2300
const

Connector does not support file streaming

errorsLOCERR_CURL_BAD_CONTENT_ENCODING

30027
const

Bad content encoding

errorsLOCERR_CURL_COULDNT_CONNECT

30002
const

Failed to connect to host or proxy

errorsLOCERR_CURL_COULDNT_RESOLVE_PROXY

30001
const

Provided proxy can not be resolved

errorsLOCERR_CURL_FILE_COULDNT_READ_FILE

30016
const

File read failed

errorsLOCERR_CURL_FTP_ACCEPT_FAILED

30004
const

FTP accept failed

errorsLOCERR_CURL_FTP_ACCEPT_TIMEOUT

30005
const

FTP accept timeout

errorsLOCERR_CURL_FTP_CANT_GET_HOST

30006
const

FTP can not get the host

errorsLOCERR_CURL_FTP_COULDNT_USE_REST

30013
const

FTP REST command failed

errorsLOCERR_CURL_GOT_NOTHING

30021
const

Got nothing from remote server

errorsLOCERR_CURL_HTTP_POST_ERROR

30014
const

POST command failed

errorsLOCERR_CURL_LDAP_CANNOT_BIND

30017
const

LDAP bind failed

errorsLOCERR_CURL_LDAP_INVALID_URL

30028
const

Invalid LDAP URL

errorsLOCERR_CURL_LDAP_SEARCH_FAILED

30018
const

LDAP search failed

errorsLOCERR_CURL_LOGIN_DENIED

30031
const

Remote server login denied

errorsLOCERR_CURL_OPERATION_TIMEDOUT

30012
const

Operation timeout

errorsLOCERR_CURL_OUT_OF_MEMORY

30011
const

Memory allocation failed

errorsLOCERR_CURL_PARTIAL_FILE

30007
const

File transfer did not match the expected transfer size

errorsLOCERR_CURL_PEER_FAILED_VERIFICATION

30020
const

SSL certificate or SSH md5 fingerprint failed to verify

errorsLOCERR_CURL_QUOTE_ERROR

30008
const

Custom QUOTE commands failed

errorsLOCERR_CURL_REMOTE_ACCESS_DENIED

30003
const

Access denied for resource in the URL

errorsLOCERR_CURL_SSH

30034
const

Error occurred during SSH session

errorsLOCERR_CURL_SSL_CACERT

30026
const

Peer certificate cannot be authenticated

errorsLOCERR_CURL_SSL_CERTPROBLEM

30024
const

Problem with the local client certificate

errorsLOCERR_CURL_SSL_CIPHER

30025
const

Specified cipher can not be used

errorsLOCERR_CURL_SSL_CONNECT_ERROR

30015
const

SSL/TSL handshake failed. Certificates and/or passwords are invalid

errorsLOCERR_CURL_SSL_ENGINE_INITFAILED

30030
const

Initiating the SSL Engine failed

errorsLOCERR_CURL_SSL_ENGINE_NOTFOUND

30022
const

Specified crypto engine not found

errorsLOCERR_CURL_SSL_ENGINE_SETFAILED

30023
const

Failed to set the selected SSL crypto engine

errorsLOCERR_CURL_TFTP_ILLEGAL

30033
const

Illegal TFTP operation

errorsLOCERR_CURL_TFTP_NOTFOUND

30032
const

File on FTP server not found

errorsLOCERR_CURL_TOO_MANY_REDIRECTS

30019
const

Failure due to too many redirects

errorsLOCERR_CURL_UNSUPPORTED_PROTOCOL

30000
const

Provided URL use an unsupported protocol

errorsLOCERR_CURL_UPLOAD_FAILED

30010
const

Upload failed

errorsLOCERR_CURL_USE_SSL_FAILED

30029
const

Requested FTP SSL level failed

errorsLOCERR_CURL_WRITE_ERROR

30009
const

Write failed

errorsLOCERR_DIRECT_DISCOVERY_DB_AUTHORIZATION_FAILED

16008
const

Unknown error

errorsLOCERR_DIRECT_DISCOVERY_DB_CONNECTION_FAILED

16003
const

Database connection failed

errorsLOCERR_DIRECT_DISCOVERY_DETAIL_NOT_ALLOWED

16005
const

Unknown error

errorsLOCERR_DIRECT_DISCOVERY_EMPTY_RESULT

16002
const

Unknown error

errorsLOCERR_DIRECT_DISCOVERY_LINKED_EXPRESSION_FAIL

16000
const

Direct Discovery expression failed

errorsLOCERR_DIRECT_DISCOVERY_MEASURE_NOT_ALLOWED

16004
const

Unknown error

errorsLOCERR_DIRECT_DISCOVERY_NOT_SYNTH_CIRCULAR_ALLOWED

16006
const

Unknown error

errorsLOCERR_DIRECT_DISCOVERY_ONLY_ONE_DD_TABLE_ALLOWED

16007
const

Unknown error

errorsLOCERR_DIRECT_DISCOVERY_ROWCOUNT_OVERFLOW

16001
const

Direct Discovery row count overflow

errorsLOCERR_EXPORT_NO_DATA

13001
const

No data

errorsLOCERR_EXPORT_OUT_OF_MEMORY

13000
const

Out of memory

errorsLOCERR_EXTENGINE_GRPC_STATUS_ABORTED

22010
const

The operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.

errorsLOCERR_EXTENGINE_GRPC_STATUS_ALREADY_EXISTS

22006
const

Some entity that we attempted to create (e.g., file or directory) already exists.

errorsLOCERR_EXTENGINE_GRPC_STATUS_CANCELLED

22001
const

The operation was cancelled.

errorsLOCERR_EXTENGINE_GRPC_STATUS_DATA_LOSS

22015
const

Unrecoverable data loss or corruption.

errorsLOCERR_EXTENGINE_GRPC_STATUS_DEADLINE_EXCEEDED

22004
const

Deadline expired before operation could complete.

errorsLOCERR_EXTENGINE_GRPC_STATUS_FAILED_PRECONDITION

22009
const

Operation was rejected because the system is not in a state required for the operation's execution.

errorsLOCERR_EXTENGINE_GRPC_STATUS_INTERNAL

22013
const

Internal errors. Means some invariants expected by underlying System has been broken. If you see one of these errors, Something is very broken.

errorsLOCERR_EXTENGINE_GRPC_STATUS_INVALID_ARGUMENT

22003
const

Client specified an invalid argument.

errorsLOCERR_EXTENGINE_GRPC_STATUS_NOT_FOUND

22005
const

Some requested entity (e.g., file or directory) was not found.

errorsLOCERR_EXTENGINE_GRPC_STATUS_OK

22000
const

OK

errorsLOCERR_EXTENGINE_GRPC_STATUS_OUT_OF_RANGE

22011
const

Operation was attempted past the valid range. E.g., seeking or reading past end of file.

errorsLOCERR_EXTENGINE_GRPC_STATUS_PERMISSION_DENIED

22007
const

The caller does not have permission to execute the specified operation.

errorsLOCERR_EXTENGINE_GRPC_STATUS_RESOURCE_EXHAUSTED

22008
const

Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.

errorsLOCERR_EXTENGINE_GRPC_STATUS_UNAUTHENTICATED

22016
const

The request does not have valid authentication credentials for the operation.

errorsLOCERR_EXTENGINE_GRPC_STATUS_UNAVAILABLE

22014
const

The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.

errorsLOCERR_EXTENGINE_GRPC_STATUS_UNIMPLEMENTED

22012
const

Operation is not implemented or not supported/enabled in this service.

errorsLOCERR_EXTENGINE_GRPC_STATUS_UNKNOWN

22002
const

Unknown error.

errorsLOCERR_FEATURE_DISABLED

20000
const

Feature disabled

errorsLOCERR_FILE_ACCESS_DENIED

3000
const

File access denied

errorsLOCERR_FILE_CORRUPT

3002
const

File corrupted

errorsLOCERR_FILE_FORMAT_UNSUPPORTED

3004
const

Unsupported file format version

errorsLOCERR_FILE_NAME_INVALID

3001
const

Invalid file name

errorsLOCERR_FILE_NOT_FOUND

3003
const

File not found

errorsLOCERR_FILE_OPENED_IN_UNSUPPORTED_MODE

3005
const

File opened in unsupported mode

errorsLOCERR_FILE_TABLE_NOT_FOUND

3006
const

Table not found

errorsLOCERR_GENERIC_ABORTED

15
const

Request aborted

errorsLOCERR_GENERIC_ACCESS_DENIED

5
const

Access denied

errorsLOCERR_GENERIC_ALREADY_EXISTS

3
const

Resource already exists

errorsLOCERR_GENERIC_CONNECTION_LOST

16
const

Unknown error

errorsLOCERR_GENERIC_CORRUPT_DATA

11
const

Corrupt data

errorsLOCERR_GENERIC_EMPTY_PARAMETERS

9
const

Empty parameters

errorsLOCERR_GENERIC_INTERNAL_ERROR

10
const

Internal error

errorsLOCERR_GENERIC_INVALID_PARAMETERS

8
const

Invalid parameters

errorsLOCERR_GENERIC_INVALID_PATH

4
const

Invalid path

errorsLOCERR_GENERIC_INVISIBLE_OWNER_ABORT

13
const

Invisible owner abort

errorsLOCERR_GENERIC_MEMORY_INCONSISTENCY

12
const

Memory inconsistency

errorsLOCERR_GENERIC_MEMORY_LIMIT_REACHED

19
const

Your quota limit of {0}MB was exceeded. You loaded {1}MB. Reduce your data within this application or buy additional capacity.

errorsLOCERR_GENERIC_NOT_FOUND

2
const

Resource not found

errorsLOCERR_GENERIC_NOT_IMPLEMENTED

20
const

Not implemented

errorsLOCERR_GENERIC_NOT_INITIALIZED

7
const

Not initialized

errorsLOCERR_GENERIC_NOT_SET

1
const

Resource not set

errorsLOCERR_GENERIC_OK

0
const

OK

errorsLOCERR_GENERIC_OUT_OF_MEMORY

6
const

Out of memory

errorsLOCERR_GENERIC_PROHIBIT_VALIDATE

14
const

Prohibit validate

errorsLOCERR_GENERIC_REST_CONNECTION_FAILURE

18
const

Unknown error

errorsLOCERR_GENERIC_UNKNOWN

-1
const

Unknown error

errorsLOCERR_GENERIC_UNSUPPORTED_IN_PRODUCT_VERSION

17
const

Unsupported in product version

errorsLOCERR_HC_INVALID_OBJECT

6000
const

Invalid hypercube object

errorsLOCERR_HC_INVALID_OBJECT_STATE

6002
const

Invalid hypercube object state

errorsLOCERR_HC_MODAL_OBJECT_ERROR

6003
const

Function not allowed on this object in app modal mode

errorsLOCERR_HC_RESULT_TOO_LARGE

6001
const

Result too large

errorsLOCERR_HTTP_400

400
const

Bad Request

errorsLOCERR_HTTP_401

401
const

Unauthorized

errorsLOCERR_HTTP_402

402
const

Payment Required

errorsLOCERR_HTTP_403

403
const

Forbidden

errorsLOCERR_HTTP_404

404
const

Not Found

errorsLOCERR_HTTP_405

405
const

Method Not Allowed

errorsLOCERR_HTTP_406

406
const

Not Acceptable

errorsLOCERR_HTTP_407

407
const

Proxy Authentication Required

errorsLOCERR_HTTP_408

408
const

Request Timeout

errorsLOCERR_HTTP_409

409
const

Conflict

errorsLOCERR_HTTP_410

410
const

Gone

errorsLOCERR_HTTP_411

411
const

Length Required

errorsLOCERR_HTTP_412

412
const

Precondition Failed

errorsLOCERR_HTTP_413

413
const

Request Entity Too Large

errorsLOCERR_HTTP_414

414
const

Request-URI Too Long

errorsLOCERR_HTTP_415

415
const

Unsupported Media Type

errorsLOCERR_HTTP_416

416
const

Requested Range Not Satisfiable

errorsLOCERR_HTTP_417

417
const

Expectation Failed

errorsLOCERR_HTTP_422

422
const

Unprocessable Entity

errorsLOCERR_HTTP_429

429
const

Too Many Requests

errorsLOCERR_HTTP_500

500
const

Internal Server Error

errorsLOCERR_HTTP_501

501
const

Not Implemented

errorsLOCERR_HTTP_502

502
const

Bad Gateway

errorsLOCERR_HTTP_503

503
const

Service Unavailable

errorsLOCERR_HTTP_504

504
const

Gateway Timeout

errorsLOCERR_HTTP_505

505
const

HTTP Version Not Supported

errorsLOCERR_HTTP_509

509
const

Bandwidth Limit Exceeded

errorsLOCERR_HTTP_COULD_NOT_RESOLVE_HOST

700
const

Host could not be resolved

errorsLOCERR_INTERNAL_ERROR

-128
const

Internal error

errorsLOCERR_JSON_RPC_INTERNAL_ERROR

-32603
const

Internal JSON-RPC error

errorsLOCERR_JSON_RPC_INVALID_PARAMETERS

-32602
const

Invalid method parameter(s)

errorsLOCERR_JSON_RPC_INVALID_REQUEST

-32600
const

Invalid JSON request

errorsLOCERR_JSON_RPC_METHOD_NOT_FOUND

-32601
const

Method does not exist

errorsLOCERR_JSON_RPC_PARSE_ERROR

-32700
const

JSON parse error

errorsLOCERR_LAYOUT_EXTENDS_INVALID_ID

8000
const

Invalid extends id for properties

errorsLOCERR_LAYOUT_LINKED_OBJECT_INVALID

8002
const

Invalid linked object

errorsLOCERR_LAYOUT_LINKED_OBJECT_NOT_FOUND

8001
const

Linked object not found on layout

errorsLOCERR_LXW_ERROR

23005
const

General error with xlsx writing.

errorsLOCERR_LXW_ERROR_255_STRING_LENGTH_EXCEEDED

23014
const

Parameter exceeds Excel's limit of 255 characters.

errorsLOCERR_LXW_ERROR_CREATING_TMPFILE

23008
const

Error encountered when creating a tmpfile during file assembly.

errorsLOCERR_LXW_ERROR_CREATING_XLSX_FILE

23007
const

Error creating output xlsx file. Usually a permissions error.

errorsLOCERR_LXW_ERROR_MAX_STRING_LENGTH_EXCEEDED

23013
const

String exceeds Excel's limit of 32,767 characters.

errorsLOCERR_LXW_ERROR_MEMORY_MALLOC_FAILED

23006
const

Can not allocate memory when writing xlsx file.

errorsLOCERR_LXW_ERROR_NULL_PARAMETER_IGNORED

23012
const

NULL function parameter ignored.

errorsLOCERR_LXW_ERROR_SHARED_STRING_INDEX_NOT_FOUND

23015
const

Error finding internal string index.

errorsLOCERR_LXW_ERROR_WORKSHEET_INDEX_OUT_OF_RANGE

23016
const

Worksheet row or column index out of range.

errorsLOCERR_LXW_ERROR_WORKSHEET_MAX_NUMBER_URLS_EXCEEDED

23017
const

Maximum number of worksheet URLs (65530) exceeded.

errorsLOCERR_LXW_ERROR_ZIP_CLOSE

23011
const

Zlib error when closing xlsx file.

errorsLOCERR_LXW_ERROR_ZIP_FILE_ADD

23010
const

Zlib error when adding sub file to xlsx file.

errorsLOCERR_LXW_ERROR_ZIP_FILE_OPERATION

23009
const

Zlib error with a file operation while creating xlsx file.

errorsLOCERR_LXW_INVALID_EXPORT_RANGE

23004
const

Invalid xlsx export range.

errorsLOCERR_LXW_INVALID_FILE

23002
const

Invalid xlsx file.

errorsLOCERR_LXW_INVALID_OBJ

23001
const

Invalid xlsx object.

errorsLOCERR_LXW_INVALID_SHEET

23003
const

Invalid xlsx sheet.

errorsLOCERR_MEDIA_BUNDLING_FAILED

19002
const

Media bundling failed

errorsLOCERR_MEDIA_LIBRARY_CONTENT_FAILED

19001
const

Failed getting list of library content

errorsLOCERR_MEDIA_LIBRARY_LIST_FAILED

19000
const

Failed getting list of content libraries

errorsLOCERR_MEDIA_LIBRARY_NOT_FOUND

19004
const

Content library not found

errorsLOCERR_MEDIA_UNBUNDLING_FAILED

19003
const

Media unbundling failed

errorsLOCERR_MQ_PROTOCOL_CHANNEL_CLOSED

33005
const

Unknown error

errorsLOCERR_MQ_PROTOCOL_CONNECTION_CLOSED

33004
const

Unknown error

errorsLOCERR_MQ_PROTOCOL_INVALID_STATUS

33007
const

Unknown error

errorsLOCERR_MQ_PROTOCOL_LIBRARY_EXCEPTION

33003
const

Unknown error

errorsLOCERR_MQ_PROTOCOL_NO_RESPONE

33002
const

Unknown error

errorsLOCERR_MQ_PROTOCOL_UNKNOWN_ERROR

33006
const

Unknown error

errorsLOCERR_MQ_SOCKET_CONNECT_FAILURE

33000
const

Unknown error

errorsLOCERR_MQ_SOCKET_OPEN_FAILURE

33001
const

Unknown error

errorsLOCERR_PERSISTENCE_DELETE_FAILED

9002
const

Delete Failed

errorsLOCERR_PERSISTENCE_DISK_FULL

9008
const

The disk is out of space

errorsLOCERR_PERSISTENCE_MIGRATION_BACKUP_FAILED

9007
const

Backup of original file failed when migrating

errorsLOCERR_PERSISTENCE_MIGRATION_CANCELLED

9006
const

Migration was aborted

errorsLOCERR_PERSISTENCE_MIGRATION_FAILED_READ_ONLY

9005
const

Migration failed since the file was write protected

errorsLOCERR_PERSISTENCE_MOVE_FAILED

9010
const

Unknown error

errorsLOCERR_PERSISTENCE_NOT_FOUND

9003
const

Resource not found

errorsLOCERR_PERSISTENCE_NOT_SUPPORTED_FOR_SESSION_APP

9009
const

Unknown error

errorsLOCERR_PERSISTENCE_READ_FAILED

9001
const

Read Failed

errorsLOCERR_PERSISTENCE_SYNC_GET_CHUNK_INVALID_PARAMETERS

9511
const

Invalid parameters to GetChunk

errorsLOCERR_PERSISTENCE_SYNC_SET_CHUNK_INVALID_PARAMETERS

9510
const

Invalid parameters to SetChunk

errorsLOCERR_PERSISTENCE_UNSUPPORTED_VERSION

9004
const

Unsupported version

errorsLOCERR_PERSISTENCE_WRITE_FAILED

9000
const

Write Failed

errorsLOCERR_PERSONAL_APP_DELETION_FAILED

12003
const

Unknown error

errorsLOCERR_PERSONAL_NEW_VERSION_AVAILABLE

12000
const

New Qlik Sense Desktop version available

errorsLOCERR_PERSONAL_SECTION_ACCESS_DETECTED

12002
const

Section access detected when opening an app

errorsLOCERR_PERSONAL_VERSION_EXPIRED

12001
const

This engine has expired

errorsLOCERR_RELOAD_AGGREGATION_REQUIRED_BY_GROUP_BY

11031
const

Aggregation expressions required by GROUP BY clause.

errorsLOCERR_RELOAD_AUTO_GENERATE_COUNT

11021
const

Invalid Autogenerate count: {0}

errorsLOCERR_RELOAD_BINARY_LOAD_PROHIBITED

11039
const

Binary Load is not allowed on: {0}

errorsLOCERR_RELOAD_CONCATENATE_LOAD_NO_PREVIOUS_TABLE

11046
const

No previous table for concatenate load.

errorsLOCERR_RELOAD_CONNECTOR_CONNECT_ERROR

11043
const

Connector connect error: {0}

errorsLOCERR_RELOAD_CONNECTOR_NOT_FOUND_ERROR

11044
const

Connector {0} not found

errorsLOCERR_RELOAD_CONNECTOR_NOT_RESPONDING

11041
const

Connector is not responding

errorsLOCERR_RELOAD_CONNECTOR_REPLY_ERROR

11042
const

Connector reply error: {0}

errorsLOCERR_RELOAD_CONNECTOR_START_FAILED

11040
const

Failed to start connector: {0}

errorsLOCERR_RELOAD_CONNECT_MUST_USE_LIB_PREFIX_IN_THIS_MODE

11032
const

CONNECTs other than LIB CONNECT are not available in this script mode.

errorsLOCERR_RELOAD_CUSTOM_CONNECT_FAILED

11035
const

Custom connection failed

errorsLOCERR_RELOAD_CUSTOM_READ_FAILED

11038
const

Custom read failed

errorsLOCERR_RELOAD_EXPECTED_NOTHING_FOUND_UNKNOWN

11004
const

Unexpected token: '{0}', expected nothing

errorsLOCERR_RELOAD_EXPECTED_ONE_OF_1_TOKENS_FOUND_UNKNOWN

11005
const

Unexpected token: '{0}', expected: '{1}'

errorsLOCERR_RELOAD_EXPECTED_ONE_OF_2_TOKENS_FOUND_UNKNOWN

11006
const

Unexpected token: '{0}', expected one of: '{1}', '{2}'

errorsLOCERR_RELOAD_EXPECTED_ONE_OF_3_TOKENS_FOUND_UNKNOWN

11007
const

Unexpected token: '{0}', expected one of: '{1}', '{2}', '{3}'

errorsLOCERR_RELOAD_EXPECTED_ONE_OF_4_TOKENS_FOUND_UNKNOWN

11008
const

Unexpected token: '{0}', expected one of: '{1}', '{2}', '{3}', '{4}'

errorsLOCERR_RELOAD_EXPECTED_ONE_OF_5_TOKENS_FOUND_UNKNOWN

11009
const

Unexpected token: '{0}', expected one of: '{1}', '{2}', '{3}', '{4}', '{5}'

errorsLOCERR_RELOAD_EXPECTED_ONE_OF_6_TOKENS_FOUND_UNKNOWN

11010
const

Unexpected token: '{0}', expected one of: '{1}', '{2}', '{3}', '{4}', '{5}', '{6}'

errorsLOCERR_RELOAD_EXPECTED_ONE_OF_7_TOKENS_FOUND_UNKNOWN

11011
const

Unexpected token: '{0}', expected one of: '{1}', '{2}', '{3}', '{4}', '{5}', '{6}', '{7}'

errorsLOCERR_RELOAD_EXPECTED_ONE_OF_8_OR_MORE_TOKENS_FOUND_UNKNOWN

11012
const

Unexpected token: '{0}', expected one of: '{1}', '{2}', '{3}', '{4}', '{5}', '{6}', '{7}', ...

errorsLOCERR_RELOAD_EXPECTED_SOMETHING_FOUND_UNKNOWN

11003
const

Unexpected token: {0}

errorsLOCERR_RELOAD_FIELD_X_NOT_FOUND

11013
const

Field '{0}' not found

errorsLOCERR_RELOAD_INCONSISTENT_USE_OF_SEMANTIC_FIELDS

11029
const

Inconsistent use of semantic fields

errorsLOCERR_RELOAD_INPUT_FIELD_WITH_DUPLICATE_KEYS

11045
const

Duplicate keys when loading Input Field {0}

errorsLOCERR_RELOAD_IN_PROGRESS

11000
const

Reload in progress

errorsLOCERR_RELOAD_LIB_CONNECTION_X_NOT_FOUND

11015
const

Connection '{0}' not found

errorsLOCERR_RELOAD_MAPPING_TABLE_X_NOT_FOUND

11014
const

Mapping table '{0}' not found

errorsLOCERR_RELOAD_MATCHING_CONTROL_STATEMENT_ERROR

11023
const

The control statement is not correctly matched with its corresponding start statement

errorsLOCERR_RELOAD_MATCHING_LIBPATH_X_INVALID

11025
const

Connection {0} is invalid

errorsLOCERR_RELOAD_MATCHING_LIBPATH_X_NOT_FOUND

11024
const

Connection not found: {0}

errorsLOCERR_RELOAD_MATCHING_LIBPATH_X_OUTSIDE

11026
const

The path '{0}' is outside the folder defined by the connection

errorsLOCERR_RELOAD_MERGE_LOAD_ERROR

30101
const

Merge Load error: {0}

errorsLOCERR_RELOAD_MODE_STATEMENT_ONLY_FOR_LIB_PATHS

11028
const

This statement only works with lib:// paths in this script mode

errorsLOCERR_RELOAD_NAME_ALREADY_TAKEN

11016
const

The name '{0}' already exists.

errorsLOCERR_RELOAD_NO_OPEN_DATABASE

11030
const

There is no open data connection.

errorsLOCERR_RELOAD_NO_QUALIFIED_PATH_FOR_FILE

11027
const

No qualified path for file: {0}

errorsLOCERR_RELOAD_ODBC_CONNECT_FAILED

11033
const

ODBC connection failed

errorsLOCERR_RELOAD_ODBC_READ_FAILED

11036
const

ODBC read failed

errorsLOCERR_RELOAD_OLEDB_CONNECT_FAILED

11034
const

OLEDB connection failed

errorsLOCERR_RELOAD_OLEDB_READ_FAILED

11037
const

OLEDB read failed

errorsLOCERR_RELOAD_OPEN_FILE_ERROR

11020
const

Cannot open file: '{0}'

errorsLOCERR_RELOAD_PE_ILLEGAL_PREFIX_COMB

11022
const

Illegal combination of prefixes

errorsLOCERR_RELOAD_TABLE_X_NOT_FOUND

11001
const

Table '{0}' not found

errorsLOCERR_RELOAD_UNKNOWN_STATEMENT

11002
const

Unknown statement: {0}

errorsLOCERR_RELOAD_WRONG_FILE_FORMAT_BIFF

11018
const

Unsupported or bad format in BIFF file

errorsLOCERR_RELOAD_WRONG_FILE_FORMAT_DIF

11017
const

Unsupported or bad format in DIF file

errorsLOCERR_RELOAD_WRONG_FILE_FORMAT_ENCRYPTED

11019
const

Cannot read file because it is encrypted

errorsLOCERR_RELOAD_WRONG_FILE_FORMAT_QVD

11047
const

Unsupported or bad format in QVD file

errorsLOCERR_SCRIPT_DATASOURCE_ACCESS_DENIED

10000
const

Data source access denied

errorsLOCERR_SEARCH_TIMEOUT

15000
const

Search timeout

errorsLOCERR_SERVER_AJAX_DISABLED

5008
const

Ajax disabled

errorsLOCERR_SERVER_BUSY

5006
const

Server busy

errorsLOCERR_SERVER_LICENSE_EXPIRED

5007
const

License has expired

errorsLOCERR_SERVER_NO_TOKEN

5009
const

No user license available for the user of this session

errorsLOCERR_SERVER_OFF_DUTY

5005
const

Server off duty

errorsLOCERR_SERVER_OUT_OF_CALS

5003
const

Server out of cals

errorsLOCERR_SERVER_OUT_OF_NAMED_CALS

5004
const

Server out of named cals

errorsLOCERR_SERVER_OUT_OF_SESSION_AND_USER_CALS

5000
const

Server out of session and usage cals

errorsLOCERR_SERVER_OUT_OF_SESSION_CALS

5001
const

File not found

errorsLOCERR_SERVER_OUT_OF_USAGE_CALS

5002
const

File not found

errorsLOCERR_SETEXPRESSION_TOO_LARGE

30100
const

Set analysis expression too large

errorsLOCERR_SMART_LOAD_TABLE_DUPLICATED

17001
const

Found duplicated table names

errorsLOCERR_SMART_LOAD_TABLE_NOT_FOUND

17000
const

Table not found in current App

errorsLOCERR_SYNC_INVALID_OFFSET

14000
const

Unknown error

errorsLOCERR_TRENDLINE_INVALID_DEF

25000
const

Invalid trendline def

errorsLOCERR_TRENDLINE_INVALID_MATH_ERROR

25001
const

Math error

errorsLOCERR_USER_ACCESS_DENIED

4000
const

User access denied

errorsLOCERR_USER_AUTHENTICATION_FAILURE

12004
const

User authentication failure

errorsLOCERR_USER_IMPERSONATION_FAILED

4001
const

User impersonation failed

errorsLOCERR_VARIABLE_DUPLICATE_NAME

18001
const

Variable already exists

errorsLOCERR_VARIABLE_INCONSISTENCY

18002
const

Variable inconsistency

errorsLOCERR_VARIABLE_NO_NAME

18000
const

Variable must have a name

errorsLOCERR_WIN_FTP_DROPPED

30200
const

The FTP operation was not completed because the session was aborted

errorsLOCERR_WIN_FTP_NO_PASSIVE_MODE

30201
const

Passive mode is not available on the server

errorsLOCERR_WIN_HTTP_DOWNLEVEL_SERVER

30210
const

The server did not return any headers

errorsLOCERR_WIN_HTTP_INVALID_SERVER_RESPONSE

30211
const

The server response could not be parsed

errorsLOCERR_WIN_HTTP_REDIRECT_NEEDS_CONFIRMATION

30212
const

The redirection requires user confirmation

errorsLOCERR_WIN_INTERNET_CANNOT_CONNECT

30221
const

The attempt to connect to the server failed

errorsLOCERR_WIN_INTERNET_CONNECTION_ABORTED

30222
const

The connection with the server has been terminated

errorsLOCERR_WIN_INTERNET_CONNECTION_RESET

30223
const

The connection with the server has been reset

errorsLOCERR_WIN_INTERNET_DISCONNECTED

30224
const

The Internet connection has been lost

errorsLOCERR_WIN_INTERNET_FORCE_RETRY

30220
const

The function needs to redo the request

errorsLOCERR_WIN_INTERNET_INCORRECT_FORMAT

30225
const

The format of the request is invalid

errorsLOCERR_WIN_INTERNET_INVALID_CA

30226
const

The function is unfamiliar with the Certificate Authority that generated the server's certificate

errorsLOCERR_WIN_INTERNET_INVALID_OPERATION

30227
const

The requested operation is invalid

errorsLOCERR_WIN_INTERNET_INVALID_URL

30228
const

The URL is invalid

errorsLOCERR_WIN_INTERNET_ITEM_NOT_FOUND

30229
const

The requested item could not be located

errorsLOCERR_WIN_INTERNET_LOGIN_FAILURE

30230
const

The request to connect and log on to an FTP server failed

errorsLOCERR_WIN_INTERNET_NAME_NOT_RESOLVED

30231
const

The server name could not be resolved

errorsLOCERR_WIN_INTERNET_NEED_UI

30232
const

A user interface or other blocking operation has been requested

errorsLOCERR_WIN_INTERNET_SEC_CERT_CN_INVALID

30233
const

SSL certificate common name(host name field) is incorrect. For example, if you entered www.server.com, and the common name on the certificate says www.different.com

errorsLOCERR_WIN_INTERNET_SEC_CERT_DATE_INVALID

30234
const

SSL certificate date that was received from the server is invalid. The certificate has expired

errorsLOCERR_WIN_INTERNET_SEC_CERT_ERRORS

30235
const

The SSL certificate contains errors

errorsLOCERR_WIN_INTERNET_SEC_INVALID_CERT

30236
const

The SSL certificate is invalid

errorsLOCERR_WIN_INTERNET_SERVER_UNREACHABLE

30237
const

The website or server indicated is unreachable

Was this page helpful?