Directly return invalid input errors if no output at all was produced