APIConnectionError: Connection error while using OpenAI API?

Has anyone experienced this error while using the OpenAI API?

raise APIConnectionError(request=request) from err
openai.APIConnectionError: Connection error

I’m getting this error when attempting to make requests to the API. Any ideas on how to resolve this?