adding information about invalid config to error