appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
33.95k stars 3.66k forks source link

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

Open Akatroj opened 1 month ago

Akatroj commented 1 month ago

Is there an existing issue for this?

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

ukasiu commented 6 days ago

Any progress on this one?