Could not create a new general ledger journal

How you have imported opening Balances?

Manually change the next number to 23.