better error message on missing configuration