@shpiNi, why do you validate the entry type here and not in the API when you accept the input for the first time?