SAP Knowledge Base Article - Public

2538166 - UriNotMatchingException error for an Odata API call in SAP Cloud Platform Integration(HCI)

Symptom

  • UriNotMatchingException error for an Odata API call in SCPI/HCI
  • org.apache.olingo.odata2.api.uri.UriNotMatchingException: Could not find an entity set or function import for 'Could be any Generic/MDF Object'

Environment

Success Factors

HCI

Reproducing the Issue

Run the SCPI/HCI artifact

Check the message processing log if it fails with 'UriNotMatchingException' error as shown below for your reference wrt. two MDF objects.

position.PNG

employee time.PNG

Cause

HCI tries to access the Object information from 'edmx' (local cache) for Odata entities and if it doesn't find corresponding field it fails out with 'UriNotMatchingException'.

Resolution

Please follow below steps in order to resolve the issue-

   1. Please check if the errored out MDF Object exist under 'Configure Object definition'.

a. If No, Customer has to configure the same first correctly. like in case of dataReplicationProxy, customer has to enable 'Payroll Integration (For On Prem Customers)' from provisioning, for position/employee time needs configuration under configure Object definition.

b. If yes, check if the API Visibility is set to true and has valid data available under manage data.

  2. If Step b is also true, try the final step refreshing the Odata Metadata from admin center. You can refer the 'See also' part to know how metadata refresh happens.

See Also

2355830 - How to refresh metadata of restricted Odata MDF entities?

2171588 - SuccessFactors: OData API Metadata Refresh and Export

2515741 - How to refresh Odata Metadata via an API call

Keywords

UriNotMatchingException,  Could not find an entity set or function import for, Odata metadata refresh , KBA , LOD-SF-INT-HCI , Std. SF to 3rd Party HCI Content , LOD-SF-INT , SF Integrations - EC Payroll, Boomi/ HCI, API , LOD-SF-INT-API , SF API & Adhoc API Framework , LOD-SF-INT-ODATA , OData API Framework , Problem

Product

SAP SuccessFactors HCM Core 1708