Condition if item is available show error