Org Hierarchy update_hierarchy_element API Fails with ORA-01422: Exact Fetch Returns More than Requested Number of Rows

(Doc ID 2367552.1)

Last updated on MARCH 02, 2018

Applies to:

Oracle Human Resources - Version 12.1 HRMS RUP8 and later
Information in this document applies to any platform.

Symptoms

Problem Statement:

When trying to update the Organization Hierarchy via Oracle API apps.hr_hierarchy_element_api.update_hierarchy_element, it fails with following error:

ORA-01422: exact fetch returns more than requested number of rows.

 

Steps to Reproduce:
The issue can be reproduced at will with the following steps:

  1.  Call the API: hr_hierarchy_element_api.update_hierarchy_element



Cause

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 hundreds of Community platforms