SAP Knowledge Base Article - Public

3485261 - API Read Error: Error invoking query API: The server has run out of resource. Please retry after 5 minutes.

Symptom

You are trying to run an Integration Center job or make an API Call, but the following error appears: 

"API Read Error Main Entity Name :User, Tags: Foundation/Platform (PLT),PLT - User Management, Error invoking query API: The server has run out of resource. Please retry after 5 minutes."

  • Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP SuccessFactors HCM Suite
    • Integration Center

Reproducing the Issue

1. Go to Integration Center.

2. Select the Integration Center Job that is causing the error.

3. Run the Integration Center Job.

4. Observe the error message. 

Cause

• Large datasets result in oversized snapshots that consume significant heap space.

• This leads to intermittent heap space exhaustion, preventing the server from allocating sufficient resources to process the requested data. 

Resolution

To reduce memory usage when dealing with large datasets, follow these tips:

  1. Reduce the source page size to 500 records.
  2. Apply filters to fetch only the required data (use advanced filters instead of time-based filters).

Keywords

Resource exhaustion, server memory issue, heap space, query API error, data processing error, Integration Center job failure, large data handling, advanced filtering, memory optimization, server resources, API call error, data filtering, page size adjustment, query optimization, resource allocation , KBA , ss_anonymizedkba , LOD-SF-INT-INC-FWK , Integration Center UI Framework , Problem

Product

SAP SuccessFactors HCM Suite all versions