Error "Missing required context variable: username" When Editing a Google Sheets Data Source
Published: 06 Jun 2017 Last Modified Date: 27 Apr 2018
When attempting to modify a Google Sheets data source in Tableau Public 10.2 and 10.3, the following error message might occur:
"Missing required context variable: username"
Tableau Desktop Public Edition 10.2 and 10.3
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.
Thank you for providing your feedback on the effectiveness of the article.