我正在尝试使用snowflake.connector库和OKTA身份验证将python连接到snowflake。我正在使用以下代码执行,但出现错误:
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)
有人有办法让它发挥作用吗
我认为你的户名不对。它应该以“<;您的帐户名>&书信电报;区域id>;'(例如“xy12345.east-us-2.azure”)。使用示例中的URL,它应该是
location
相关问题 更多 >
编程相关推荐