validate method to read config using locate_config_value