Symptom
When using SCIM API in IPS, the IPS job is failing with the below error after an instance refresh:
Caused by: HTTP operation failed invoking https://api68sales.successfactors.com/rest/iam/scim/v2/Users?startId=367ab84-5478437-8abfe&count=100&filter=active%20eq%20%22true%22 with statusCode: 500 and body {"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"scimType":null,"detail":"{\"error\" : {\"code\" : \"COE_SERVICE_TEMPORARILY_UNAVAILABLE\", \"message\" : {\"lang\" : \"en-US\", \"value\" : \"[COE0040]The request has timed out. OData metadata is being generated for the same instance in another thread. Please try again later.\"}}}","status":500}
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
- SCIM API
- IPS
Cause
After an instance refresh is done, it takes some time for the metadata to be totally refreshed.
The OData API will get unavailable until the refresh is completed, so the error occurs.
Resolution
After some minutes the refresh should had already be completed, so just wait a few minutes and try again.
Keywords
ips, ias, 500, successfactors, sf, COE0040, instance refresh , KBA , LOD-SF-INT-API , API & Adhoc API Framework , Problem