function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gdickens3Gdickens3 

Can the query timeout be increased?

We are using a 3rd party tool (DBAmp) to execute a QueryAll api call against the Task table and are receiving the QUERY_TIMEOUT error.  Salesforce directed me here when I asked for the query timeout to be increased to 10 minutes ..
Best Answer chosen by Gdickens3
Hargobind_SinghHargobind_Singh
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. 

 

All Answers

Hargobind_SinghHargobind_Singh
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. 

 
This was selected as the best answer
Gdickens3Gdickens3
We were able to get Salesforce to increase this for 2 weeks to identify the issue.
Bhushan burujwaleBhushan burujwale

Gdickens3,

Facing the same issue. Were you able to get salesforce to increase the QUERY_TIMEOUT?