OpenAI with LlamaIndex

When I try to run any lesson from the short course "Building Agents RAG with LlamaIndex in my local Jupyter notebook, I get an error as follows:

Retrying llama_index.llms.openai.base.OpenAI._chat in 0.21639678600049972 seconds as it raised APIConnectionError: Connection error…

My key for OpenAI works for the 3.5 turbo model, so not sure why this is happening? I have used the requirements.txt from the course labs.

I recommend you post in the forum area for that course.

Thank you. I will add there. Please delete this question.