If its with default settings, then the most likely problem would be with your OpenAI API key. Ensure the entire api key (including the "sk-") is in the key file or else it wont work