Cause
In the Chart of Accounts, each account has a currency code. In the Transactions table, in the Account column, an account was entered with a currency code different from the one indicated in the Accounts table, Currency column.
Solution
Check the currency code in the Accounts table and correct the currency code in the Transactions table.