Power BI Refresh Error:
250003
What does this error mean?
The Python connector could not complete an HTTP request to the Snowflake service. This is a network-level failure occurring after the connection was established — typically due to a transient network error, proxy interruption, or Snowflake service timeout.
Common causes
- 1Transient network interruption between the client and Snowflake during a request
- 2Proxy or firewall terminating long-running HTTP connections mid-flight
- 3Snowflake service returning an unexpected or malformed HTTP response
- 4DNS resolution failure on a subsequent request after initial connection
- 5Request timeout set too low for large result sets or slow queries
How to fix it
- 1Retry the operation — error 250003 is often transient and resolves on the next attempt.
- 2Check network stability and proxy logs for connection resets around the failure time.
- 3Increase the login timeout: snowflake.connector.connect(..., login_timeout=60, network_timeout=60).
- 4If behind a proxy, verify HTTPS_PROXY is set correctly and the proxy supports persistent connections.
- 5Enable retry in the connector: use the retry_count and retry_delay parameters or wrap calls in a retry loop.
Frequently asked questions
Official documentation: https://github.com/snowflakedb/snowflake-connector-python/blob/main/src/snowflake/connector/errorcode.py