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."

Environment

  • SAP SuccessFactors HCM Suite
    • Integration Center

Reproducing the Issue

  • Go to Integration Center.
  • Select the Integration Center Job that is causing the error.
  • Run the IC Job.
  • You will see the error.

Cause

When dealing with very large datasets, the snapshot can become quite large. Storing the entire snapshot in memory can consume a significant amount of heap space. This results in intermittent heap space exhaustion when handling large datasets. The server is unable to allocate 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

Heap Space, Memory Footprint, Large Datasets, Snapshot, API Read Error, Resource Exhaustion, Integration Center, Advanced Filters, Error invoking query API , KBA , LOD-SF-INT-INC-FWK , Integration Center UI Framework , Problem

Product

SAP SuccessFactors HCM Suite all versions