KNOWLEDGE BASE

Error "Tableau needs an unexpired OAuth refresh token to connect to the data" When Attempting to Web Edit Snowflake data sources on Tableau Cloud


Published: 29 Apr 2022
Last Modified Date: 08 Jun 2022

Issue

When Attempting to Web Edit a Snowflake data source using OAuth on Tableau Cloud an error occurs:

Can't connect to Snowflake... The username or password is not valid....Tableau needs an unexpired OAuth refresh token to connect to the data...
 

However refreshing the data source/workbook runs successfully with no error. Tableau Desktop also works in editing the data source.

Environment

  • Tableau Cloud 2022.1
  • Web Edit
  • Snowflake

Resolution

Use Tableau Desktop to edit the credentials and republish it as a workaround. 
 

Cause

The ability to use Tableau Cloud Web Edit to Edit Snowflake OAuth credentials in a published or embedded data source is not functionality built into the product. 
 
Did this article resolve the issue?