Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden'

I was hoping that someone could shed some light. Trying to make an API call from Nucleus Notebook to Azure API End-Point and get the following error …

Nucleus: … (Caused by ProxyError(‘Cannot connect to proxy.’, OSError(‘Tunnel connection failed: 403 Forbidden’)))

CODE:

import requests
import json;

url = “https://******************.azure.com/”

payload = {
“prompt”: “Python code to test access”,
“max_tokens”: 50,
“temperature”: 0.7
}
headers = {
“Content-Type”: “application/json”,
“Authorization”: “*************************”
}
response = requests.post(url, data=json.dumps(payload), headers=headers)

if response.status_code == 200:
data = json.loads(response.text)
output_text = data[“choices”][0][“text”]
print(output_text)
else:
print(“Error:”, response.status_code, response.text)