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
Itamar HaberItamar Haber 

REQUEST_LIMIT_EXCEEDED

Hi all,

We've implemented a daily sync process that updates SFDC with data from our internal datastore via API. Every other day or so we're getting a REQUEST_LIMIT_EXCEEDED exception during runtime. We've already purchased ample API packages and we're well below the quota (according to the information displayed in the web interface). Any ideas what could be the issue, how to debug it or steps to take towards resolution?

Your assistance will be greatly appreciated - we're really stumped on this one.

Thanks,
Itamar
Aakaash NairAakaash Nair
Hi Itamar,

Is this the complete error message?

If it says something like: Reason [REQUEST_LIMIT_EXCEEDED: TotalRequests Limit exceeded.]

Then it would seem you are run out of the API's .

Else it could also mean there is a timeout somewhere.

Could you please check?

Hope this help!

Thanks,
Aakaash
bob_buzzardbob_buzzard
As well as the 24 hour API limit, there is  also a limit imposed on the number of concurrent API requests which you may be hitting if your requests are relatively long running (20 seconds plus).

There's more information at : 

http://help.salesforce.com/HTViewHelpDoc?id=integrate_api_rate_limiting.htm
Itamar HaberItamar Haber
@Aakaash - yep, that's the error but according the information in my account's "Company Information" I'm only at ~50% of my API quota.
@Bob - thanks, I'll look into this although I believe that the process is single-threaded and synchronous so there's at most one call at any time.