SAP Knowledge Base Article - Public

3729676 - Error in CPI: "org.apache.olingo.odata2.api.edm.EdmException: 'object-example' name pattern not valid"

Symptom

The error below is occurring in a CPI interface execution when using the SuccessFactors OData adapter:

"Edm Exception: edmx parsing failed., org.apache.olingo.odata2.api.edm.EdmException: 'object-example' name pattern not valid"

Where "object-example" is an OData API entity from SuccessFactors.

Environment

  • Cloud Platform Integration (CPI)
  • SuccessFactors
    • OData API

Cause

The issue is caused by an invalid dash character in the name of the object from the SuccessFactors OData API metadata. For example: Background_Certificate-2025 (the dash character before "2025" causes the issue).

The CPI OData adapter cannot correctly parse the dash character, resulting in the error.

Even if the object with the invalid character is not directly used in the iflow, $metadata calls retrieve all objects from SuccessFactors (including unused ones), which could lead to the error.

Resolution

  1. Remove the invalid dash character from the object name in the SuccessFactors metadata.
    • You can replace it with an underscore, for example.
  2. Perform a metadata refresh in SuccessFactors after making the changes. Refer to KBA 2171588 - OData API Metadata Refresh and Export in SuccessFactors Cloud.

Keywords

cloud integration, cpi, successfactors, iflow, odata adapter, metadata, dash, invalid character, request payload parsing failed, Request Payload Parsing Failed for one of the reason: (1) Either the OData metadata content available in the server is outdated OR (2) The request payload seems to be incorrect , KBA , LOD-SF-INT-CON , Cloud Platform Integration Adapter (CPI) , Problem

Product

SAP SuccessFactors HCM Suite all versions