return error message if config is not ready