Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Google sheets datasource not working with shared drives #35479

Open
1 task done
Akatroj opened this issue Aug 7, 2024 · 6 comments
Open
1 task done

[Bug]: Google sheets datasource not working with shared drives #35479

Akatroj opened this issue Aug 7, 2024 · 6 comments
Assignees
Labels
Bug Something isn't working Community Reported issues reported by community members Google Sheets Issues related to Google Sheets High This issue blocks a user from building or impacts a lot of users Integrations Product Issues related to a specific integration Production Query & JS Pod Issues related to the query & JS Pod

Comments

@Akatroj
Copy link

Akatroj commented Aug 7, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Description

I tried using a google sheet from a shared google drive in appsmith, but it didn't work. I created a new datasource with Read / Write / Delete | Selected google sheets, authorized appsmith and selected this google sheet:

Screenshot 2024-08-07 at 08 17 51

I received a toast saying 'Authorization was successful', but the datasource is empty - there are no sheets and no queries:
Screenshot 2024-08-07 at 08 26 42

I then copied this same sheet to my private google drive and it worked.
image

Using a private drive is not acceptable for us though, because of company policy the sheet has to reside in a shared drive, so this is a problem for us.

Steps To Reproduce

  1. Create a shared drive (requires google workspace)
  2. Add a user to the drive with any permission level (it doesn't work even with the most privileged Manager role)
  3. Create a sheet in the shared drive
  4. Add a google sheet datasource in appsmith, select Read / Write / Delete | Selected google sheets
  5. Select the sheet from the shared drive
  6. it shows a success toast, but it doesn't work

Public Sample App

(no link, because reproduction requires google workspace)

Environment

Production

Severity

High (Blocker to building or releasing)

Issue video log

No response

Version

Self-hosted 1.34

@Akatroj Akatroj added Bug Something isn't working Needs Triaging Needs attention from maintainers to triage labels Aug 7, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added Community Reported issues reported by community members High This issue blocks a user from building or impacts a lot of users Production Google Sheets Issues related to Google Sheets Needs Triaging Needs attention from maintainers to triage and removed Needs Triaging Needs attention from maintainers to triage labels Aug 7, 2024
@github-actions github-actions bot added the Integrations Product Issues related to a specific integration label Aug 7, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal removed the Needs Triaging Needs attention from maintainers to triage label Aug 7, 2024
@github-actions github-actions bot added the Query & JS Pod Issues related to the query & JS Pod label Aug 7, 2024
@ukasiu
Copy link

ukasiu commented Sep 24, 2024

Any progress on this one?

@sonali-humanedge
Copy link

@Nikhil-Nandagopal @carinanfonseca @rohan-arthur What is the status for this issue?

@rohan-arthur
Copy link
Contributor

@sonali-humanedge @ukasiu , this is still a limitation with the google sheets integration, and we have not currently planned it on our roadmap.
I will check with the team and update here on plans for a fix.

@sonali-humanedge
Copy link

@rohan-arthur The alternative that was suggested was to copy the sheet to a personal drive. However, the data in question is the company's IP and cannot be moved to any user's personal drive.
I request to prioritise the issue. Also please mention in the documentation about this limitation. This would have been an important information to know before integrating appsmith.

@sonali-humanedge
Copy link

Hey @rohan-arthur any progress on this issue?

@christianauz
Copy link

Hello team,
I am facing this issue, The data source page remains empty, and doesn’t show individual sheets or data previews. This doesn’t happen when the file is in ‘My Drive’.
I can run queries by manually entering the spreadsheet URL in JS code in 'Queries', but adding the URLs in code, for different environments (dev, prod, stage) complicates keeping files separate across instances and same git code repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Community Reported issues reported by community members Google Sheets Issues related to Google Sheets High This issue blocks a user from building or impacts a lot of users Integrations Product Issues related to a specific integration Production Query & JS Pod Issues related to the query & JS Pod
Projects
None yet
Development

No branches or pull requests

8 participants