Error "Missing required context variable: username" When Editing a Google Sheets Data Source
Published: 06 Jun 2017 Last Modified Date: 10 Jan 2020
When attempting to modify a Google Sheets data source in Tableau Public, the following error message might occur:
"Missing required context variable: username"
Tableau Desktop Public Edition
Reconnect to the data source and replace the original data source with the new connection. For more information, see Replace Data Sources in Tableau Help.
Open Tableau Public Desktop, go to File > Open from Tableau Public...
Enter your credentials.
Choose the workbook.
Then right-click the data source > Edit Data Source...
Tableau Public is behaving as designed. To protect the privacy of users, the email of the owner of the Google Sheet data source is removed. Therefore, the error occurs when you try to edit the data source.