SAP Knowledge Base Article - Public

3433932 - OData API 503 Error: "[COE0040]The request has timed out. OData metadata is being generated for the same instance in another thread." - Recruiting Management

Symptom

When running an OData API query, the API returns the following timeout response:

<code>COE_SERVICE_TEMPORARILY_UNAVAILABLE</code><message lang="en-US">[COE0040]The request has timed out. OData metadata is being generated for the same instance in another thread. Please try again later.</message></error>

Environment

SAP SuccessFactors Recruiting Management

Cause

A new field has been added into one or more Recruiting XML templates but the field is not part of the metadata yet. During the API request, the system tries to access the field in the metadata but without success, causing the performance issue, and eventually the timeout.

Resolution

After adding any field to any Recruiting XML template, please make sure to run an OData API metadata refresh: 171588 - OData API Metadata Refresh and Export in SuccessFactors Cloud.

As part of a long-term resolution, Software Engineering will be enhancing the system to prevent this scenario from happening (internal reference only RCM-116607).

Keywords

RCM-116607, COE0040, 503, timed, time, out, COE_SERVICE_TEMPORARILY_UNAVAILABLE, Entity, JobApplicationFieldControls, null, resolve, failed, RuntimeException, java.lang.IllegalStateException, Background properties, read from template while resolve of JobApplication, do not match the entity names from background module, Entity JobApplicationFieldControls is null, resolve it failed with RuntimeException , KBA , LOD-SF-RCM , Recruiting Management , LOD-SF-RCM-API , Webservices & APIs , Problem

Product

SAP SuccessFactors Recruiting all versions