Bug: files uploaded via desktop or web client have hidden tag when listed via API

Posted by Jon Webb on Stack Overflow See other posts from Stack Overflow or by Jon Webb
Published on 2012-09-19T15:23:55Z Indexed on 2012/09/19 15:38 UTC
Read the original article Hit count: 270

Files uploaded to Google Drive sometimes incorrectly have a hidden tag when listed via the Document List v3 REST API:

<category scheme='http://schemas.google.com/g/2005/labels' term='http://schemas.google.com/g/2005/labels#hidden' label='hidden'/>

This happens if:

  • a subfolder is created via the Google Drive desktop client and files are copied in, or
  • a folder is uploaded via the Google Drive web client.

The folder does not have the hidden tag, but the files that were uploaded do.

The files do not have this tag if:

  • they are individually uploaded via the Google Drive web client to the subfolder, or
  • they are uploaded via the REST API to the subfolder, or
  • they are uploaded via the desktop client to the My Drive root.

The files and folders show up in Google Drive whether they have the hidden tag or not.

We're using the API with the following scope:

https://docs.google.com/feeds/ https://spreadsheets.google.com/feeds/ https://docs.googleusercontent.com/

I have verified and can recreate this with the OAuth 2.0 playground.

Google Drive desktop client version 1.3.3209.2600 on Win7 32-bit

I guess these must be bugs in the API...

© Stack Overflow or respective owner

Related posts about google-drive-sdk

Related posts about google-docs-api