redirects to homepage if invalid number is entered into download api