diff --git a/dbt/adapters/snowflake/connections.py b/dbt/adapters/snowflake/connections.py index af26279e8..dac82d9a5 100644 --- a/dbt/adapters/snowflake/connections.py +++ b/dbt/adapters/snowflake/connections.py @@ -312,6 +312,13 @@ def exception_handler(self, sql): "Please double check your profile and try again." ).format(msg) ) + elif msg == "access_token": + raise FailedToConnectError( + ( + "{}\n\nThis error occurs when authentication has expired. " + "Please reauth with your auth provider." + ).format(msg) + ) else: raise DbtDatabaseError(msg) except Exception as e: