My Oracle Support Banner

Journal Import Fails with "ORA-00001: unique constraint (FUSION.GL_JE_BATCHES_U2) violated" Error (Doc ID 1930417.1)

Last updated on MAY 19, 2022

Applies to:

Oracle Fusion General Ledger Cloud Service - Version and later
Oracle Fusion General Ledger - Version and later
Information in this document applies to any platform.


On : version, Capture Transactions-Record and Edit Standard Journal Entries

When attempting to Import Journals, the following error occurs.

Error in: gllcbh
Function return status: 0
Function Err Message: Executing bch_prep
Function warning number: -1
sqlcaid: sqlabc: 0 sqlcode: -1 sqlerrml: 64
ORA-00001: unique constraint (FUSION.GL_JE_BATCHES_U2) violated

sqlerrp: sqlerrd: 0 38 0 0 0 538976288
sqlwarn: sqltext:

The unique constraint violation error can also happen with the index on the headers table:
ORA-00001: unique constraint (FUSION.GL_JE_HEADERS_U2) violated

The issue can be reproduced with the following steps:
1. Load journals with long name using Spreadsheet
2. Import Journals


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.