My Oracle Support Banner

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 OCTOBER 01, 2020

Applies to:

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


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


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

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

In this Document

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