Check for invalid input on host.