Not enough holdings for sell transaction

On the top of the Trades page, I see the following warning:

However, I’m having difficulty figuring out what this is trying to tell me, because:

  • It says there’s not enough holdings for a SELL transaction…but then lists a BUY transaction, and

  • That account does not have any sell transactions of BTC at all.

Any ideas how I can decipher this to fix the issue?

Thanks in advance

First Check this buy, if the numbers are correct.
Second, filter all bookings and find the sell, check for the same.

Assumption, either buy or sell is wrong, or assigned to the wrong security account.