add exception for invalid instance configs