Questions tagged [timeout]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
33 views

Make a delay to a dynamic search (onchange) when sending data to apex (Lightning)

I have a <lightning:input> which I send to the server the value inside it when it changes to search and return the closest results. I tried to do the following : CMP - look at the lightning:...
0
votes
4answers
65 views

Apex CPU time limit exceeded error in trigger

I have a trigger on lead after insert that query all accounts and all contacts created the past 30 days to compare 4 fields (external id and legal number on accounts / mobile and email on contacts) ...
0
votes
2answers
80 views

“Cannot read property 'setCallback' of undefined” in “window.setTimeout”

I'm trying to call a function every 10 seconds. But I'm getting this error: Uncaught Error in $A.getCallback() [Cannot read property 'setCallback' of undefined]. What is wrong? doGet : function(...
3
votes
1answer
90 views

Read Time Out - First HTTP request - rest

Http request using restAPI : public static String sendFormHttp(Opportunity opportunity, List<Easy_Send_Form_Mapping__mdt> mappingList, Map<String, String> systemVariableMap){ ...
0
votes
1answer
32 views

Is there a way to specify a max timeout for a test?

I'm trying to write a test around an infinite-loop bug in my Apex code. I'd love to be basically code something that runs a test for a maximum of X seconds and then asserts a false result if the ...
1
vote
1answer
45 views

What would cause a standard object to load slowly?

I'm working in a sandbox(salesforce classic layout) where opening an Opportunity record would sometimes hit the time limit(2 minutes). I'm trying to figure out why that's happening. I've never seen ...
0
votes
1answer
197 views

Do automations have a time limit where they crash?

I am uncertain if this question was asked somewhere but atleast I did not find a post that covers it within a few minutes of searching on documentation and stackexchange. Closest question I found Do ...
0
votes
0answers
55 views

Session timeout and session valid discrepancy

I have salesforce on a TV as a Dashboard and right now I'm having troubles with the session. I set my configuration for 24 hours timeout on Session Settings, for the whole org, but if I log and look ...
1
vote
0answers
43 views

Query timeouts for community users after Winter 19 update

We have a Customer Community with a custom Visualforce application that we built. After Winter '19 update on our production instance over the weekend, some of our query functions are timing out or ...
0
votes
1answer
1k views

Turn off request timeouts for Node.js

I have developed a web app. After the user makes a POST, some processing starts which takes some time. When the function ends, a response is served to the client. Meanwhile, when the POST happens, the ...
2
votes
2answers
203 views

Optimizing SQL queries

I've set up an automation that resends an altered version of a mail to all who recieved it the first time it was sent, but didn't open it. This is done in Automation Studio using 3 SQL Query and a ...
1
vote
1answer
678 views

First error: Exceeded maximum time allotted for callout (120000 ms)

I have a Batch class making an API callout and I have scheduled this class. I have used a for loop to iterate through the page number variable in my API endpoint. There are 64 pages. Strangely, if I ...
0
votes
2answers
1k views

How to stop Read Timed Out

So I have run a apex class that makes a callout to a external application. So I triggered the callout in SFDC and I have gotten hundreds of System Exception Read Timed Out emails. I have went to ...
1
vote
0answers
248 views

Outbound Messages java.net.SocketTimeoutException: Read timed out

I am getting a lot of java.net.SocketTimeoutException: Read timed out with my Workflow Outbound Messages It looks like remote server (Node.JS express) works to slow and salesforce breaks connection ...
0
votes
1answer
249 views

Query time out issue which is intermittent

The below query runs successfully sometimes but fails with a query time out issue Fault code [QUERY_TIMEOUT]. Reason [Your query request was running for too long.]. sometimes. Is using an IN clause ...
2
votes
1answer
8k views

What is the default timeout for httpRequest?

What is the default timeout for httpRequest. I have gone through this doc . But could not find the default timeout. public class HttpCallout{ @Future(callout=true) public static void ...
0
votes
1answer
103 views

Add 2 Different Times and Return value in time(Formulae field) in HH:MM format

I need results of two fields of type text in time format to be the same time format and then the result has to be time of HH:MM format aswell text in formulae field
0
votes
2answers
98 views

Consistent AsyncQuery timeout

I have several large queries that I expect will return 50K+ records, but i seem to get consistent timeouts. I changed my query to SORT BY Id, as recommended in some posts, this worked for a while but ...
1
vote
1answer
60 views

Is the query on object history slower than the query on the object itself?

The object which has the history tracking enabled in my organization is being modified 3 to 4 times a day, so we end up with 112 history records per month. I have a page that queries the history and ...
0
votes
0answers
962 views

Identifying records via Batch Apex timing out. REQUEST_RUNNING_TOO_LONG

I'm trying to identify task records in a production org. The problem is that the data volume is too large to create a report or one-off SOQL Task records. Our task records are huge and are in ...
0
votes
1answer
443 views

system.limitexception apex cpu time limit exceeded

When I use the Mass Transfer (Account) tool I am encountering the error message in the subject line regarding the following Trigger. Is this a issue where this trigger is not bulkified and is causing ...
0
votes
1answer
113 views

Managed Package - View Components - View Dependencies

Trying to figure out how I'm going to track what changes in each installation of a managed package in Salesforce (in this case, Rootstock, but also possibly Financial Force). Not necessarily Apex ...
0
votes
1answer
202 views

Query timeout from multiple LEFT JOINS

I'm in need of some query help. I'm currently trying to Join multiple tables on Salesforce Marketing Cloud but it keeps timingout. Each table has a field called "SubscriberKey" and "EventDate" for ...
2
votes
0answers
248 views

Rest API - Download times out without any errors

I am downloading ContentVersions through Salesforce using Rest API. I have submitted several file requests and downloaded. After downloading, an observation was that the ContentSize field in ...
5
votes
1answer
3k views

Session expiry in Salesforce - Session timeout value for Connected Apps

I am using OAUth authentication through connected apps. How can I get session timeout value(access token expiry time) as part of response during user authentication. I am expecting "expires_in" ...
1
vote
1answer
452 views

Event object SOQL queries timeout

I am attempting to pull data from SF and replicate it into a database for analytics. I have been running into a problem with the Event object. I included a subset of the desired query below, with a ...
0
votes
0answers
704 views

how to overcome 120 sec timeout in JS remoting

i did try below solution, Visualforce.remoting.timeout = 120000; I am still getting the timeout issue. The remote method is hardly 40 lines code and is optimized also i am not making callouts in ...
1
vote
2answers
436 views

CPU Timeout limit exceeded exception caused for existing working code after SF upgraded to Summer'16,. Any idea if anything updated in Summer'16

I have a code which was working for my previous packages. But after the Summer'16 release I am getting the CPU timeout exception for my codebase which was working earlier. Is there any thing update ...
25
votes
3answers
961 views

Batch start CPU timeout - What influences start() post-processing?

We're experiencing a very annoying issue with a Batch job processing "Large Data Volume" (1.5M records over a table containing 4.5M records). Our batch start method last statement is: return Database....
1
vote
2answers
977 views

How to disabe API user session timeout?

I have currently developed a Java API client that connect against the Salesforce instance of my company. Using the following tutorial: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/...
10
votes
2answers
7k views

Exception: QUERY_TIMEOUT Your query request was running for too long

Querying on approx 25 million contacts using the following query in database.getQueryLocator. Used Query Resource Feedback (Link) to get some feedback about query and here are the results. Query - 1: ...
2
votes
1answer
862 views

How to control the Timeout for Enterprise WSDL for Salesforce integration

How to control the Timeout for Enterprise WSDL for Salesforce integration.
1
vote
2answers
826 views

Is it possible to set a session time out for a specific user?

My question is simple Is it possible to set a session time out for a specific user in salesforce? Not a profile ,not a permission set but a specific user.. Thanks in advance
1
vote
0answers
654 views

List view time limit exceeded error

When I try to load an account list view it is giving me a time exceeded error. The list view need to return only 50 records, I tried it out using SOQL in dev console. So I don' think it is an data ...
2
votes
1answer
394 views

How to poll data without resetting the session clock

I have a scenario where I'd like to poll Salesforce for data via Visualforce Remote Action, but according to this answer, Remote Actions count as activity and cause the session timeout countdown to ...
1
vote
1answer
158 views

FuelSDK SentEvent Timeouts

I read another post here that said if you are getting a timeout then extend the timeout property in the ET_Client.cs file. I searched for timeout in that file but found nothing. Anyone know where I ...
5
votes
3answers
144 views

Tests fail with CPU timeout - but only in Patch orgs

This seems to be something new. Maybe a change in Salesforce.com server infrastructure. I am unable to upload patches of my product as some of its tests (run forever and then) fail with CPU Timeout ...
2
votes
2answers
2k views

My soql select is timedout sometimes

I have a soql query inside my apex class : SELECT Id, Name, account.name, Special_food_requirements__c,Passport_number__c,account.Relationship__c,Function__c FROM Contact ...
1
vote
0answers
65 views

Apex CALLOUT_REQUEST is failing with System.CalloutException: Read timed out [duplicate]

Our endpoint is an https request. |CALLOUT_REQUEST|[217]|System.HttpRequest[Endpoint=https:[intentionally left off] The logs show: |EXCEPTION_THROWN|[217]|System.CalloutException: Read timed ...
3
votes
1answer
1k views

Internal Salesforce.com Error in a Query inside a Batch

Problem i'm having an issue in a Batch Process. It's have been working properly since January, but in the last days i'm getting an Internal SalesForce Error. The error line is inside a Query which is ...
2
votes
1answer
127 views

Apex CPU time limit exceeded on running on lists until empty

I am trying to upload documents through Queueable Apex. My intention is to complete all the callouts and then run the logout request to a third party server. I ran into an issue with the exception '...
1
vote
0answers
191 views

Customize Salesforce session timeout popup page

Is it possible to customize salesforce session timeout page to include time remaining to continue session and add a logo by nullifying the salesforce default logo. I have searched on this topic but ...
1
vote
1answer
1k views

Close pop up and refresh parent page javascript [closed]

So what i want to do is close pop up and refresh parent but after few seconds delay to make sure all data is received. currently i have the following function closeAndRefresh(){ setTimeout(...
0
votes
1answer
2k views

Session Timeout Not Redirecting to Login Page on Expiration

I am having some issues with Session Timeouts not redirecting Community users to the login page as defined in the session setting. According to Salesforce definition of the setting, it is to expire ...
4
votes
1answer
2k views

How to solve “First error: connection was cancelled here” error in batch apex [closed]

I have a batch apex class that makes an http (GET) callout to external api from salesforce. It returns x number of JSON objects which are decoded to create lists of cases but the dml upon insert never ...
1
vote
2answers
592 views

“Time Limit Exceeded” error only when generating PDF, but not when VF page is displayed

I have a Visualforce Page, that renders as PDF - conditionally. So from one button it shows as simple Visualforce page, and from another button (somewhere else in the app) it renders it as PDF. The ...
3
votes
2answers
870 views

Why is this SOQL query not selective?

We have following query in our code and its giving timeout error. Select email, firstname, lastname, id From contact Where Email != Null And Opted_Out__c = false And id IN (Select contactid From ...
2
votes
0answers
539 views

Salesforce connection timeout when sending attachments via 3rd party integration platform

I'm trying to create attachments in Salesforce using a 3rd party integration platform (Boomi). The Boomi timeout has been increased to 10 minutes, but the Salesforce connection times out after 2 ...
2
votes
3answers
647 views

Salesforce large relationship (inner) query

I have a task to perform a fairly large and specific data removal. The goal is to remove all EmailMessage objects that have a parent Case record whose status is closed, from BEFORE a certain date. ...
1
vote
2answers
827 views

What's the best way to delete lots of records via the API?

I have a custom object set up and a scheduled task each night which needs to delete all the existing records and insert a load of new ones. It has been running fine for a while but now we have more ...