Answer
You may be attempting to delete a GTC order outside of trading hours.
Orders placed during trading hours will immediately be sent to the exchange. A GTC order which does not reach execution during trading hours will remain in your outstanding orders. If you delete this order outside of market hours, it will be removed upon market opening.