QUESTION:
I am getting the error REQUEST_LIMIT_EXCEEDED, what does this mean and how can I resolve?
ANSWER:
The "REQUEST_LIMIT_EXCEEDED" error message means you have exceeded the Salesforce API calls allotted to your organization in a 24 hr period.
- Every tool that integrates with Salesforce via the API uses API calls.
- PeopleImport, like all other API applications, use API calls.
- Salesforce allots a certain number of API calls to each organization.
- The number of API calls allowed is based on the Salesforce edition and number of users.
- The total number of API requests for your organization can be accessed in Salesforce by going to Setup->Company Profile->Company Information. On the right you will see "API Requests, Last 24 Hours" giving you the total used and the maximum allowed.
- To learn more about this please visit the help and training link in Salesforce and search on "Force.com API Usage Limits".
- There is also a standard report that ships with Salesforce which shows the API usage for the previous 7 days broken down by user/application. The report can be accessed from the Salesforce Reports tab -> Administrative Reports -> API Usage Last 7 Days.
- PeopleImport processes inserts and updates in batches of 100 records per API call
- The batch size can be adjusted to as high as 200 records per API call in the PeopleImport Options.
- Records are downloaded in batches of 1000, so when querying records 1 API call will be used for every 1000 records queried.
- For example, when searching for duplicates from 30,000 records, 30 API calls will be used. This setting CANNOT be adjusted.
NOTE: Professional Edition Users will not be able to see the number of API calls available and as such cannot monitor the usage, as PE users can ONLY access the API via specific partner applications. The ability to view the API calls in "Company Information" or monitor them via the report described above are not available for PE users. PE users will need to contact Salesforce Support to obtain more information on how API calls are allocated for PE orgs.