My Oracle Support Banner

When Trying To End Date Personal Payment Method Using API HR_PERSONAL_PAY_METHOD_API.DELETE_PERSONAL_PAY_METHOD Getting Error "ORA-20001: The primary key specified is invalid" (Doc ID 2828106.1)

Last updated on OCTOBER 11, 2023

Applies to:

Oracle Payroll - Version 12.2.9 and later
Information in this document applies to any platform.


On : 12.2.9 version, Core Payroll - General

When attempting to end date payment method using hr_personal_pay_method_api, the following error occurs.

Inner Exception: ORA-20001: The primary key specified is invalid

Cause: The primary key values specified are invalid and do not exist in the schema.

Action: Check the primary key values before attempting to carry out the operation again. 57327

The issue can be reproduced at will with the following steps:
1. Run the script with this API
2. Get the error


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.