SAP Knowledge Base Article - Public

2546967 - Performance Management OData API returns NotFoundException error

Symptom

  • When running any of the Performance Form or 360 Multirater OData API entities, you get the following result:

{
    "error": {
        "code": "NotFoundException",
        "message": {
            "lang": "en-US",
            "value": "FormContent with key (formContentId=XXXL,formDataId=XXXL) not found!"
        }
    }
}

Environment

  • SuccessFactors Performance Management & 360 OData API

Reproducing the Issue

  • In this example, we will be running OData for FormContent entity:

2017-10-10_15-25-59.png

 

Cause

  • There are several reasons why NotFoundException would occur, the most common ones are listed below:
  1. The formContentId and/or formDataId does not exist within the system. You have inputed the incorrect formContentId and/or formDataId or that the form is already deleted from the system.
  2. The PM form is not a supported version for Talent OData API as per 2531388. Currently only PMv12A is a supported version for OData API.

 

Resolution

  • You may have mixed up the formContentId and/or formDataId. You can identify the formContentId and formDataId by running an ad-hoc report on Performance Management and look into the following fields:
    • Document ID, which corresponds to the formDataId
    • Content ID, which corresponds to the formContentId

2017-10-10_16-20-14.png

 

 

 

  • Currently the OData API does not support the older versions of the PM Form. If you do wish to use OData API to fetch information from a specific Performance Management Form, please upgrade to PMv12 Acceleration. More information regarding the upgrade can be found in 2078687. Please note that even after the upgrade, you will not be able to use the OData API to fetch the old forms that were completed or launched as PMv11, PMv12 (1.0). Only forms launched as PMv12 Acceleration will be supported.

 

 

Keywords

NotFoundException, formContentId, formDataId, OData API PM, OData API PMv12A. , KBA , LOD-SF-PM-API , Webservices, OData APIs , Problem

Product

SAP SuccessFactors HCM suite all versions ; SAP SuccessFactors Performance & Goals all versions