我正在尝试使用雪花雪花连接器库和OKTA身份验证与python建立雪花连接。我正在使用以下代码执行但出现错误:
Failed to execute request: HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url
我正在使用的代码
username = username for okta
authenticator = 'https://companyname.okta.com'
account_name = 'https://xy12345.us-east-2.snowflakecomputing.com/'
warehouse = ''
password = password for okta
conn = sf.connect(user = username, authenticator = authenticator, account = account_name, password = password)
有人想让它工作吗?
答案 0 :(得分:1)
我认为您的account_name不正确。它的格式应为“ <您的帐户名称>。const { products } = req.body;
console.dir(products);
。