Contract Repository Import Fails With Error: ORA-00001: unique constraint (OKC.OKC_REP_CONTRACTS_ALL_U2) violated

(Doc ID 1271409.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Procurement Contracts - Version 12.1.1 and later
Information in this document applies to any platform.


When attempting to import Contracts using the Contract Repository Import program, the following error occurs in the log file.

***** BEGIN insert_prod_data *****
p_api_version = 1
p_request_id = 1117623
l_insert_batch_size = 50
l_number_valid = 20
l_min_contract_id = 12537
l_max_contract_id = 12556
l_start_contract_id = 12537
***** SAVEPOINT before_insert_contracts *****
ORA-00001: unique constraint (OKC.OKC_REP_CONTRACTS_ALL_U2) violated
***** ROLLBACK TO before_insert_contracts *****
***** UPDATE okc_rep_imp_documents_t SET valid_flag = N *****

The issue can be reproduced at will with the following steps:
1. Prepare data as required to be imported.
2. Submit the Contract Repository Import program.


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