+ Start a Discussion
sd2008sd2008 

Question: FutureRequests Request Limit exceeded.

I have 5 scheduled job use CronKitBatchTrigger, it calls a webservice everynight.

It used to work fine everyday, but since last 2 weeks, 4 of the 5 jobs always got this problem:

 

"cronKitBatchTrigger: execution of BeforeUpdate

 

caused by: System.AsyncException: Rate Limiting Exception : FutureRequests Request Limit exceeded."

 

I did not change anything in the code, any ideas?

 

HarmpieHarmpie

From the manual:

"Total number of methods with the future annotation allowed per Apex invocation: 10"

"Salesforce also imposes an organization-wide limit of 200 method calls with the future annotation per license per 24

hours."

 

Since your code has not changed, the (amount of) data might have. Are @future calls being made in a loop over a set of data? This might cause the logic to fail now. Other explanation might be the fact more applications are using the @future method, hitting the 24h limit of 200?

sd2008sd2008
I checked and there are only 6 outcalls during 5/4/2009 the single day and 4 of the 5 jobs still failed to lunch.