Skip to main content
December 15, 2021
Question

Google Drive Connected System Integration Operations - Not working with for a SHARED folder in google drive

  • December 15, 2021
  • 5 replies
  • 0 views

All,

I am trying to using Google Drive connected system(https://docs.appian.com/suite/help/21.4/google-drive-connected-system.html) , to create folder, upload and download documents  to and from google drive folders.

Then API  operations  (like createFolder, uploadFile, downloadFile, etc) all work perfectly  on a personal folder of an auth user, but   the same operations are not working on a SHARED folder in google drive, Has anybody got that working with a Shared drive? 

I checked out some documentation on google drive APIs  at (https://developers.google.com/drive/api/v3/enable-shareddrives?hl=en)  and found out that supportsAllDrives=true  parameter is required to enable these operations on a shared drive. But there is no way in the connected system to pass this information. 

Any ideas? Any suggestion? 

Thanks

Pal

5 replies

agamb0001
January 10, 2022

Hi

The Google Drive connected system might have had this update since you wrote this, but I tried and found out that if you use the 'Find File' operation, it actually does send supportsAllDrives=true

this does return me files / folders which are shared to me

Here's my google drive

I even tried to create a folder inside this shared drive folder and it worked without any issues.

Maybe give it a try again or check out the request part and see what parameter values are being sent in your request.

Hope it helps !

June 15, 2022

Hi [mention:d8b421a354554ef089fa196070da6bf2:e9ed411860ed4f2ba0265705b8793d05] and [mention:b00f90966ef341dfa5b77435e1ebbc37:e9ed411860ed4f2ba0265705b8793d05]. I'm facing the same issue. Everything works perfectly on my personal drive, but in shared drives I can list folder contents and find files correctly but as I try to make actions like create folders, upload files and other stuff, the response is a 404 error with a response JSON of the following form (being 1ZpsRPyudhvJHn02Bz5pk1v3xyULl0K7Y the folder I'm trying to interact with):

{ "code" : 404, "errors" : [ { "domain" : "global", "location" : "fileId", "locationType" : "parameter", "message" : "File not found: 1ZpsRPyudhvJHn02Bz5pk1v3xyULl0K7Y.", "reason" : "notFound" } ], "message" : "File not found: 1ZpsRPyudhvJHn02Bz5pk1v3xyULl0K7Y." }

Do you have any insights about this?

agamb0001
June 16, 2022

Hi [mention:3165266492de40cd8369ac5dfe6cd579:e9ed411860ed4f2ba0265705b8793d05]

Can you elaborate on how are you achieving this ?

Are you using the Google Drive connected system and what is your configuration (Operation / search terms)

A screenshot of your config with request and response can help me compare yours with mine.

For me, as per my earlier comment, I am still able to create a new folder as well