The people who did your interview weren't from HR, so they don't really know the rules regarding visas etc.

If the company can't sponsor you, and your husband can't sponsor you, then you will need to look for another job.