When attempting to connect to a specific Google Drive spreadsheet in Tableau Prep or Tableau Desktop, one of the following errors occurs.
Tableau Prep Error:
Something went wrong and the application needs to restart.
Click Save As to save your work before restarting. Unsaved changes will be lost when the application restarts.
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at new ModularConnectionDialog (https://127.0.0.1:64288/static/vendor.js?1771007896002:2:3784728)
at Jg (https://127.0.0.1:64288/static/vendor.js?1771007896002:2:7378210)
at ki (https://127.0.0.1:64288/static/vendor.js?1771007896002:2:7396620)
at Qr (https://127.0.0.1:64288/static/vendor.js?1771007896002:2:7439633)
at dk (https://127.0.0.1:64288/static/vendor.js?1771007896002:2:7428552)
at Xj (https://127.0.0.1:64288/static/vendor.js?1771007896002:2:7428364)
at Ij (https://127.0.0.1:64288/static/vendor.js?1771007896002:2:7425063)
at https://127.0.0.1:64288/static/vendor.js?1771007896002:2:7373497
at $.unstable_runWithPriority (https://127.0.0.1:64288/static/vendor.js?1771007896002:2:7908367)
Tableau Desktop Error:
Unable to complete action
Bad Request: The data source does not contain the expected data.
Error Code: A7AE75CC
Google Drive has rejected this request because of insufficient permissions.
Cause:
This behavior is caused by a security restriction configured on the specific Google Spreadsheet.
Google Spreadsheets have a security setting that allows file owners to disable the "Viewers and commenters can see the option to download, print, and copy" option. When this setting is unchecked, viewers cannot download the file.
When Tableau Prep or Tableau Desktop connects to read the data, it makes an API request to Google for the data in JSON format. Google's system treats this request as a file download. Because the download restriction is active, Google blocks the data payload. Tableau Prep receives an incomplete response, causing the JSON parsing error, while Tableau Desktop receives an insufficient permissions rejection.
To resolve this issue, use one of the following options.
Contact the administrator or owner of the target file and request one of the following changes:
If permission changes are not possible due to security rules, perform the following workaround:
For more information about Google spreadsheet, see Share files from Google Drive on Google Support.
About similar issues, check the below article or other possible causes.
005385947

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.