Welcome to the Alteryx Knowledge Base
Created/Edited -
When connecting to Snowflake to pull data into the Input Data tool, the following error occurs:
Error SQLDriverConnect: [Simba][Snowflake] (4) REST request for URL https://........ - Dev_User failed: HTTP error (http error) - code=400.
- Alteryx Designer
- All versions
- Snowflake connection.
The connection string contains a parameter value that uses spaces.
If you need to set parameter values that use spaces, ampersands (&), equals signs (=), or other special characters, you should URL-encode the special characters:
encode the space as %20, the ampersand as %26, and the equals sign as %3D:
Also, use the {} brackets so that you won’t have to worry about special characters.
Example: Suppose that your connection string contains Role="My Snowflake Role". The DSN-less Connection String should be:
odbc:
DRIVER={SnowflakeDSIIDriver};
SERVER={myorganization-myaccount.snowflakecomputing.com};
UID={Username};
DATABASE={My_Snowflake_Database_Name};
SCHEMA={My_Snowflake_Schema};
WAREHOUSE={My_Snowflake_Virtual_Warehouse};
ROLE={My%20Snowflake%20Role};
AUTHENTICATOR={snowflake};
PWD={Password};