My Oracle Support Banner

Call Rest API opr Web Service Results in Empty List or Error Could not find the element in the tree (Doc ID 2407592.1)

Last updated on JUNE 05, 2018

Applies to:

Oracle Fusion Incentive Compensation Cloud Service - Version 11.12.1.0.0 and later
Information in this document applies to any platform.

Symptoms

When calling a REST api with the user1 , get an empty list as a result.  It works with user2.

https://test-pod.ic.em3.oraclecloud.com/incentiveCompensationApi/resources/11.12.1.0/incentiveCompensationParticipants

Empty list as result:
{
"items": [],
"count": 0,
"hasMore": false,
"limit": 25,
"offset": 0,
"links": [ {
"rel": "self",
"href": "https://test-pod.ic.em3.oraclecloud.com:443/incentiveCompensationApi/resources/11.12.1.0/incentiveCompensationParticipants",
"name": "incentiveCompensationParticipants",
"kind": "collection"
}]
}

Similar results with using webservice :

https://test-pod.ic.em3.oraclecloud.com/incentiveCompensationApi/resources/11.12.1.0/incentiveCompensationParticipants/44001/child/ParticipantDetails

Sample Response:

<data contentType="text/plain" contentLength="68"><![CDATA[Could not find the element in the tree. KeyString: 44001 KeyPath: []]]></data>

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.