What does the error "TRANSACTION NOT ALLOWED IN CURRENT INSTRUMENT STA" mean?

TRANSACTION NOT ALLOWED IN CURRENT INSTRUMENT STA

This error occurs if a share is sold on any Settlement holiday.The list of all settlement holidays can be seen here.

The error also occurs if an order is placed after the market closes.