Skip to main content

Official Support Articles

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Announcements
Skip the ticket, Chat with Qlik Support instead for instant assistance.

Qlik Replicate: Unable to load data from Salesforce table due to the error INVALID_QUERY_LOCATOR

cancel
Showing results for 
Search instead for 
Did you mean: 
Gerald_U
Support
Support

Qlik Replicate: Unable to load data from Salesforce table due to the error INVALID_QUERY_LOCATOR

A Qlik Replicate task fails with error:

00002482: 2022-12-01T21:05:43 [SOURCE_UNLOAD ]E: An error occurred unloading dataset: .Proposed_Product__c
[InvalidQueryLocatorFault [ApiFault exceptionCode='INVALID_QUERY_LOCATOR'
exceptionMessage='invalid query locator'
extendedErrorDetails='{[0]}'

 

Resolution

Query locators represent a server-side cursor for a query. Typically a query locator is returned when not all the records requested in a query fit into the returned data set. This way a queryMore() can be issued with the provided query locator to get additional rows.


For example, consider a query API call where the batch size is set to 2,000 and the organization has 2000+ accounts. In this scenario, SELECT id FROM account will return 2,000 records and a query locator to retrieve the remaining records.

To resolve this, review "INVALID_QUERY_LOCATOR" error when querying Salesforce through TIBCO Cloud Integration - Connect.

You may want to consult with a Salesforce support if the proposed solution does not work.

 

 

Environment

Qlik Replicate 

 

Labels (1)
Version history
Last update:
‎2023-03-27 08:18 AM
Updated by: