Error: Default Warehouse Test: You Must Specify the Correct Warehouse Name
Issue
The Snowflake destination setup tests fail with the following error:
Default Warehouse Test: You must specify the correct warehouse name which you created for Fivetran user in the script
.
Environment
Destination: Snowflake
Resolution
To resolve this issue:
- Identify the username and warehouse name used in the SQL script you ran while setting up your Snowflake destination. To review the script, see our Snowflake destination setup guide.
- In Snowflake, execute the following command, replacing
<user_name>
and<warehouse_name>
with the relevant values.ALTER USER '<user_name>' SET DEFAULT_WAREHOUSE = '<warehouse_name>';
- In Fivetran, test the destination connection.
Cause
This issue occurs when the warehouse provided in the SQL script you ran while setting up your destination isn't set as the user's default warehouse. You can verify this by doing the following:
- Run the following command, replacing
<user_name>
with the relevant value:DESC USER '<user_name>';
- In the results, locate the
DEFAULT_WAREHOUSE
property and check the value in thedefault
column.