Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot get Google Drive App Data folder content using query anymore

For some reason the following Android app code

com.google.api.services.drive.Drive drive;
...
drive.files().list().setQ("mimeType='application/vnd.google-apps.folder' and 'appdata' in parents").execute().getItems();

started returning empty list since May 14. This code was returning my custom folders for more than 1 year before. I can see my App Data content still exists through

https://drive.google.com/drive/my-drive > Settings > Manage Apps.

Any ideas what is wrong?

like image 475
Zmiter Avatar asked Aug 17 '26 00:08

Zmiter


2 Answers

This was a caching issue specifically for App Folder content that affected list queries.

The issue has now been rectified. Thanks for reporting.

Writes were not affected.

like image 168
Dan McGrath Avatar answered Aug 18 '26 12:08

Dan McGrath


The issue still occurs. LIST method doesn't work for newly created files in Application Data Folder. After few hours LIST method returns those files.

like image 33
Antronak Avatar answered Aug 18 '26 13:08

Antronak



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!