<@U04S8PLJWMT> upgraded snowflake connector to lat...
# ask-ai
l
@kapa.ai upgraded snowflake connector to latest version started getting the below error on a previously working connection are the params being passed? I filled all the fields at io.airbyte.cdk.check.CheckOperation.execute(CheckOperation.kt:39) at io.airbyte.cdk.AirbyteConnectorRunnable.run(AirbyteConnectorRunnable.kt:34) at picocli.CommandLine.executeUserObject(CommandLine.java:2030) at picocli.CommandLine.access$1500(CommandLine.java:148) at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2465) at picocli.CommandLine$RunLast.handle(CommandLine.java:2457) at picocli.CommandLine$RunLast.handle(CommandLine.java:2419) at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277) at picocli.CommandLine$RunLast.execute(CommandLine.java:2421) at picocli.CommandLine.execute(CommandLine.java:2174) at io.airbyte.cdk.AirbyteSourceRunner$Companion.run(AirbyteConnectorRunner.kt:288) at io.airbyte.cdk.AirbyteSourceRunner$Companion.run$default(AirbyteConnectorRunner.kt:48) at io.airbyte.integrations.source.snowflake.SnowflakeSource.main(SnowflakeSource.kt:9) Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: No active warehouse selected in the current session. Select an active warehouse with the 'use warehouse' command.
k
It looks like the connector can reach Snowflake, but the session doesn’t have a warehouse selected. This typically happens if the Warehouse field isn’t being applied (or the role lacks USAGE on that warehouse), causing the JDBC session to start without an active warehouse. Similar reports note this as a confusing error and suggest it should be treated as a config/permissions issue rather than a generic failure (the stack traces you shared match those threads) ([Confusing “No active warehouse” error](https://github.com/airbytehq/airbyte/issues/40615)). What to check: - In the destination/source config, ensure Warehouse is filled and exactly matches the warehouse name. Airbyte’s Snowflake docs list Warehouse as required input when configuring Snowflake connectors ([Snowflake getting started](https://docs.airbyte.com/integrations/sources/snowflake#getting-started)). - Verify the Role has USAGE on the warehouse, and that the user/role you configured is the one the connector uses (misaligned role can drop the session’s warehouse) ([Forum thread showing Snowflake config/permission issues](https://discuss.airbyte.io/t/1178)). - If you upgraded the connector, re-save the connection to push updated config, then run “Test connection.” A prior issue noted differences across connector versions where the error surfaced during checks, but the root cause remained missing/insufficient warehouse selection/permissions ([Confusing “No active warehouse” error](https://github.com/airbytehq/airbyte/issues/40615)). If the field is set and permissions are correct but you still get the error, please share the connector type and version (source-snowflake vs destination-snowflake and version). The linked issues show this exact error arising during connector “check” after upgrades, but all point back to warehouse config/permissions rather than a parameter not being passed ([Confusing “No active warehouse” error](https://github.com/airbytehq/airbyte/issues/40615)).
l
@kapa.ai warehouse didnt exist lol maybe only a clearer error
k
A message from kapa.ai
Glad you found it — that error is indeed misleading. Airbyte supports emitting clearer, user-facing error messages via AirbyteTraceMessage and, in the Connector Builder UI, by customizing the “Error message” shown when a response matches an error filter. Improving connectors to surface config/permission hints (e.g., “Warehouse not found or no USAGE permission”) would make this case clearer ([Airbyte protocol: Error trace](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#airbytetracemessage); [Connector Builder: customize error message](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/error-handling#error-message)). There’s also prior feedback requesting clearer Snowflake errors like “No active warehouse…” to explicitly call out configuration/permissions, aligning with your experience ([Confusing ‘No active warehouse’ error](https://github.com/airbytehq/airbyte/issues/40615)).