Sell order being cancelled due to error

Yesterday I started getting this error sporadically in paper trading:

When I attempt to issue a limit sell, I will sometimes get the following error:
insufficient qty available for order (requested: 167, available: 0)

The order is then cancelled.