gdrive icon indicating copy to clipboard operation
gdrive copied to clipboard

Cannot access Shared Drive - Failed to get file: googleapi: Error 404: File not found: XYZ123., notFound

Open dvlancer opened this issue 2 years ago • 10 comments

I can list files and folders in My Drive using gdrive list and get info using gdrive info XZY123, but running gdrive info XZY123 on a file or folder located in Shared Drive produces error: Failed to get file: googleapi: Error 404: File not found: XYZ123., notFound

image

dvlancer avatar Mar 24 '22 02:03 dvlancer

any solutions ? i'm facing the same issue.

amineRemmache avatar Apr 07 '22 15:04 amineRemmache

drives.list is a separate method from files.list ref: https://developers.google.com/drive/api/v3/reference/drives/list

It does not appear as though this method has been implemented yet in this project.

rgbysgt avatar Apr 28 '22 11:04 rgbysgt

hitting this as well. so frustrating, this looked like an awesome utility.

fatestapestry avatar May 26 '22 05:05 fatestapestry

I have two versions on different machines.

This version I can upload to a shared dir

gdrive: 2.1.0 Golang: go1.7.4 OS/Arch: linux/amd64

This version

gdrive: 2.1.1 Golang: go1.11.13 OS/Arch: linux/386

I get the error when copying to the same directory

Failed to get file: googleapi: Error 404: File not found:...

philwilkes avatar Jun 22 '22 16:06 philwilkes

Another vote for this issue, downloading from a shared location is exactly what I need to do, but can't. Haven't found any good workarounds.

bdodds avatar Aug 14 '22 18:08 bdodds

I really need this feature to collect data from workspace admin shared folder. I just loved this app. Without this function, its just a user tool. With this feature it can have lots of server utilities.

ricardovalenca avatar Sep 15 '22 02:09 ricardovalenca

+1 on this

tomhalex avatar Sep 15 '22 17:09 tomhalex

+1

bipin-lekhak avatar Sep 17 '22 16:09 bipin-lekhak

+1 Also would benefit greatly from this. I posted a workaround using a helper Google App Script here, but not ideal.

Hope this helps @jonathanelscpt @philwilkes @bdodds @ricardovalenca @tomhalex @bipin-lekhak

Basically use gdrive to push/pull from "My Drive", then the Google App Script watches that folder and copies/moves to or from the final Shared Drive location.

Russtopia avatar Sep 29 '22 17:09 Russtopia

+1

IreneTallini avatar Oct 20 '22 20:10 IreneTallini