hi there. I am trying to create an app which connects to my snowflake database.
I am following these docs: Connect Streamlit to Snowflake - Streamlit Docs
and using the “Using the Snowflake Connector for Python” method.
my secrets.toml file reads like the example in the docs:
# .streamlit/secrets.toml
[connections.snowflake]
url = "snowflake://<user_login_name>:<password>@<account_identifier>/<database_name>/<schema_name>?warehouse=<warehouse_name>&role=<role_name>"
however when streamlit is attempting to authenticate i am getting the following error:
OperationalError: (snowflake.connector.errors.OperationalError) 250001: Could not connect to Snowflake backend after 1 attempt(s).Aborting (Background on this error at: https://sqlalche.me/e/14/e3q8)
for the snowflake account identifier I am using the copied account identifier from the snowflake console
which takes the form ABCDEFGF.XYZ12345
… given how many “versions” of the account identifier there have been in the snowflake system over time, I am not sure this is correct. Can someone advise how to correctly provide the account identifier value in this connection framework? thanks.