Search code examples
google-drive-apidrivegoogle-apis-explorergoogle-drive-shared-drive

Google Drive list API - Empty list


I am using google drive list api. For one G-Suite domain I get empty list. I tried in API explorer, same result.

Tried for another G-Suite domain, I get response as described in the documentation, works both in API explorer and my code.

What is it I am missing here?

Empty listExpected response


Solution

    • The method Drives: list lists only the shared drives of a Google Drive user.
    • If the resulting list is empty, this means that there is no shared drive associated with the given account
    • To create a new shared drive, follow the corresponding instructions
    • After successfully creating a shared drive, it will show up in the results of Drives: list