+ Start a Discussion
Bhushan burujwaleBhushan burujwale 

Receiving the QUERY_TIMEOUT error. Can it be increased to more than 2 minutes?

Lokesh KumarLokesh Kumar
I don't think so. Salesforce document says: Queries that take longer than two minutes to process will be timed out. For timed out queries, the API returns an API fault element ofInvalidQueryLocatorFault. If a timeout occurs, refactor your query to return or scan a smaller amount of data.