From 7e5d4003f5e505bbe03011ecda2a6f068239fc81 Mon Sep 17 00:00:00 2001 From: Joel Labes Date: Mon, 19 Feb 2024 12:57:47 +1300 Subject: [PATCH 1/5] Update access_token_error.md --- .../faqs/Troubleshooting/access_token_error.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/website/docs/faqs/Troubleshooting/access_token_error.md b/website/docs/faqs/Troubleshooting/access_token_error.md index 85be1fcd9dc..062fb17548e 100644 --- a/website/docs/faqs/Troubleshooting/access_token_error.md +++ b/website/docs/faqs/Troubleshooting/access_token_error.md @@ -6,16 +6,12 @@ id: access_token_error --- -If you're seeing the below error when you try to run queries in the IDE, have no fear - we'll do our best to get you unstuck with the following steps! +If you're seeing a Database Error labelled `access_token` when you try to run queries in the IDE, your OAuth connection between Snowflake and dbt Cloud has expired and you need to reconnect the two tools. - `access_token` +To resolve the issue, complete the following steps: -In order to resolve the issue, you'll want to: - -1. Go to you Profile (upper right corner of dbt Cloud) +1. Go to your Profile settings page (accessible from the gear icon at the upper right corner of dbt Cloud) 2. Click on the correct warehouse connection under "Credentials" -3. Click "Connect Snowflake Account" green button in the "Development Credentials" section. This drives you through reauthentication through the SSO flow. - -If you've tried the step above and are still experiencing this behavior - reach out to the Support team at support@getdbt.com and we'll be happy to help! - +3. Click the green "Reconnect Snowflake Account" button in the "Development Credentials" section. This drives you through reauthentication through the SSO flow. +If you've tried the step above and are still experiencing this behavior, reach out to the Support team at support@getdbt.com for further assistance. From 0728ecc81661f89f946b05cbc7913ba03644f033 Mon Sep 17 00:00:00 2001 From: Joel Labes Date: Mon, 19 Feb 2024 13:07:51 +1300 Subject: [PATCH 2/5] Add max duration of refresh token --- website/docs/faqs/Troubleshooting/access_token_error.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/faqs/Troubleshooting/access_token_error.md b/website/docs/faqs/Troubleshooting/access_token_error.md index 062fb17548e..55ebe0199f3 100644 --- a/website/docs/faqs/Troubleshooting/access_token_error.md +++ b/website/docs/faqs/Troubleshooting/access_token_error.md @@ -6,7 +6,7 @@ id: access_token_error --- -If you're seeing a Database Error labelled `access_token` when you try to run queries in the IDE, your OAuth connection between Snowflake and dbt Cloud has expired and you need to reconnect the two tools. +If you're seeing a Database Error labelled `access_token` when you try to run queries in the IDE, your OAuth connection between Snowflake and dbt Cloud has expired and you need to reconnect the two tools. The validity period for these refresh tokens is [configurable by your Snowflake administrator](/docs/cloud/manage-access/set-up-snowflake-oauth#create-a-security-integration), but cannot be longer than 90 days. To resolve the issue, complete the following steps: From b8c07035c0595ef69ba78a2cdd804bd9896b33af Mon Sep 17 00:00:00 2001 From: Mirna Wong <89008547+mirnawong1@users.noreply.github.com> Date: Mon, 19 Feb 2024 10:07:03 +0000 Subject: [PATCH 3/5] Update website/docs/faqs/Troubleshooting/access_token_error.md --- website/docs/faqs/Troubleshooting/access_token_error.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/website/docs/faqs/Troubleshooting/access_token_error.md b/website/docs/faqs/Troubleshooting/access_token_error.md index 55ebe0199f3..ae50825802c 100644 --- a/website/docs/faqs/Troubleshooting/access_token_error.md +++ b/website/docs/faqs/Troubleshooting/access_token_error.md @@ -6,7 +6,11 @@ id: access_token_error --- -If you're seeing a Database Error labelled `access_token` when you try to run queries in the IDE, your OAuth connection between Snowflake and dbt Cloud has expired and you need to reconnect the two tools. The validity period for these refresh tokens is [configurable by your Snowflake administrator](/docs/cloud/manage-access/set-up-snowflake-oauth#create-a-security-integration), but cannot be longer than 90 days. +If you're seeing a database error labeled `access_token` when you try to run queries in the IDE, this means your [OAuth](/docs/cloud/manage-access/set-up-snowflake-oauth) connection between Snowflake and dbt Cloud has expired. + +To fix this, you'll need to re-connect the two tools. + +Your Snowflake administrator can [configure](/docs/cloud/manage-access/set-up-snowflake-oauth#create-a-security-integration) the refresh tokens' validity, which has a maximum 90-day validity period. To resolve the issue, complete the following steps: From f709bd0aa79a610b82dd039453d2cc34a2c76404 Mon Sep 17 00:00:00 2001 From: Mirna Wong <89008547+mirnawong1@users.noreply.github.com> Date: Mon, 19 Feb 2024 10:08:00 +0000 Subject: [PATCH 4/5] Update access_token_error.md update ui elements per style guide --- website/docs/faqs/Troubleshooting/access_token_error.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/faqs/Troubleshooting/access_token_error.md b/website/docs/faqs/Troubleshooting/access_token_error.md index ae50825802c..e8d9991af83 100644 --- a/website/docs/faqs/Troubleshooting/access_token_error.md +++ b/website/docs/faqs/Troubleshooting/access_token_error.md @@ -14,8 +14,8 @@ Your Snowflake administrator can [configure](/docs/cloud/manage-access/set-up-sn To resolve the issue, complete the following steps: -1. Go to your Profile settings page (accessible from the gear icon at the upper right corner of dbt Cloud) -2. Click on the correct warehouse connection under "Credentials" -3. Click the green "Reconnect Snowflake Account" button in the "Development Credentials" section. This drives you through reauthentication through the SSO flow. +1. Go to your **Profile settings** page (accessible from the gear icon at the upper right corner of dbt Cloud). +2. Click on the correct warehouse connection under **Credentials**. +3. Click the green **Reconnect Snowflake Account** button in the **Development Credentials** section. This drives you through reauthentication through the SSO flow. If you've tried the step above and are still experiencing this behavior, reach out to the Support team at support@getdbt.com for further assistance. From 50d1ed4caab3aeef9275c3f8f8c3779a21805179 Mon Sep 17 00:00:00 2001 From: Mirna Wong <89008547+mirnawong1@users.noreply.github.com> Date: Mon, 19 Feb 2024 10:08:25 +0000 Subject: [PATCH 5/5] Update access_token_error.md --- website/docs/faqs/Troubleshooting/access_token_error.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/faqs/Troubleshooting/access_token_error.md b/website/docs/faqs/Troubleshooting/access_token_error.md index e8d9991af83..db59d3ba17a 100644 --- a/website/docs/faqs/Troubleshooting/access_token_error.md +++ b/website/docs/faqs/Troubleshooting/access_token_error.md @@ -1,7 +1,7 @@ --- title: I'm receiving an `access_token` error when trying to run queries in the IDE. description: "Reauthenticate warehouse when seeing `access_token` error" -sidebar_label: '`access_token` error in the IDE' +sidebar_label: 'Receiving `access_token` error in the IDE' id: access_token_error ---