Selling stock issue

When trying to sell my stocks, I get told I must first buy that equity before I can sell. But I already own it?

Might it be in a pie? You have to export first and then you can sell.