Used better errors if the domain is not whitelisted