![]() |
yonezawa
February 21 |
I am trying to create a function on AWS lambda to
retrieve GenesysCloud information.
However, I need to go through a proxy, and I am referring to the Using a Proxy (Node.js only) section of the following page as follows.
‐‐‐‐‐‐‐‐
const proxyUrl = process.env.HTTP_PROXY;
const client = platformClient.ApiClient.instance;
const agent = new HttpProxyAgent({
proxy: proxyUrl,
});
client.setProxyAgent(agent);
‐‐‐‐‐‐‐‐
I get the following error and do not know how to resolve it.
・TypeError [ERR_INVALID_PROTOCOL]: Protocol "https:" not supported. Expected "http:"
Visit Topic to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, click here.