Raise error when config is empty