It means you cannot make that move. It might be your king is in check position, so you must do something about that instead of the move you intended. It might also be the case you were moving a piece to a location it cannot be moved to. Like moving the knight from a white square to another white square.