Google Drive APIs v3

Hi everyone.

I'm using first method, to get the files id

 

response = service.files().list(pageSize=10,corpora='drive',includeItemsFromAllDrives=True,supportsAllDrives=True, driveId=shared_drive_id).execute()

 

then

service.permissions().list(fileId=fi).execute()

i'm using the second method to get the file permissions

but! If second method includes in argument id which belongs to google sheets...

I get an error 

Show More
googleapiclient.errors.HttpError "File not found: 123qwe321ewq."

 

but this file is on disk, i can open it

what's happening 0_o

0 0 114
0 REPLIES 0
Top Solution Authors