Catching invalid config.