Power BI Refresh Error:
251001
What does this error mean?
The Python connector was called without specifying a Snowflake account name. The account parameter is required for every connection and identifies the Snowflake account to connect to.
Common causes
- 1The account parameter was omitted from the snowflake.connector.connect() call
- 2The account value is an empty string or None (e.g., read from an env var that is not set)
- 3Using a legacy connection method that no longer auto-discovers the account
- 4Misconfigured secrets manager or configuration file missing the account key
- 5Typo in the parameter name (e.g., account_name instead of account)
How to fix it
- 1Add the account parameter: snowflake.connector.connect(account='myaccount', ...).
- 2The account value should be the account identifier only (e.g., xy12345.eu-west-1), not the full URL.
- 3Check that the environment variable or config file supplying the account value is populated: echo $SNOWFLAKE_ACCOUNT.
- 4If using a connection profile (connections.toml), ensure the account field is present and non-empty.
- 5Verify you are not passing account_name — the correct parameter name is account.
Frequently asked questions
Official documentation: https://github.com/snowflakedb/snowflake-connector-python/blob/main/src/snowflake/connector/errorcode.py