Symptom
You are performing ODATA API Operation and you get the below error:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code>COE_SERVICE_TEMPORARILY_UNAVAILABLE</code>
<message lang="en-US">[COE0051]The server has run out of resource. Please retry after 5 minutes.</message>
</error>
DISCLAIMER: 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 HXM Suite
- Integrations
- ODATA
- Integrations
Cause
The server's heap usage reached 90% of the heap capacity at that time and it could also be due to complex request for an MDF object which contributes much for that as it has too many navigation entity records.
The query request could be very memory-consuming API, which is not recommended.
Resolution
Please enable Pagination for the query and reduce the pagesize to 50 and re-run the process.
You could also divide the Integration Process into multiple jobs based on specific field filters like country or any other specific filter type.
Please refer SAP Help Document Common Error COE
Keywords
COE0051, LOD-SF-INT-ODATA, COE_SERVICE_TEMPORARILY_UNAVAILABLE, Odata, API, HTTP 503 , KBA , LOD-SF-INT-API , API & Adhoc API Framework , LOD-SF-INT , Integrations , LOD-SF-INT-ODATA , OData API Framework , Problem