question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Only first 10 team drives are listed

See original GitHub issue

If a user has more than 10 team drives, only the first ten are listed.

This is a bug in func listTeamDrives (src/drive/drive.ts#L1113)

By default teamdrives.list returns a maximum of 10 teams per page (see documentation).

To fix this bug the nextPageToken value should be queried and used to fetch the remaining pages (see example here).

(I would have submitted a PR for this myself but my js level is close to NULL)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ian-r-rosecommented, Dec 30, 2017

@danjjl I have just published v0.10.1, which includes this fix.

1reaction
ian-r-rosecommented, Dec 28, 2017

Hi @danjjl, thanks for the report! You are completely correct. I should be able to put together fix for this sometime in the next week. I personally don’t have access to many team drives, so some user testing may be helpful 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shared drive limits in Google Drive
If someone is a member of multiple groups that are members of the shared drive, they only count as one individual toward the...
Read more >
G Suite Team Drive access levels: What managers need to know
A Team Drive provides shared storage space for people in organizations that use G Suite Business, Education, or Enterprise edition.
Read more >
S: drive - How it Works & Permissions - UCL
The S: drive is part of the central windows file store and enables groups of users to access and share files necessary for...
Read more >
How to get your Google Drive permissions right - itGenius
But if you're a smaller team just stick with the simple permissions now and then ... We'll get into Google Drive in a...
Read more >
Google drive - Rclone
"drive.readonly" / Access to files created by rclone only. ... Got code Configure this as a Shared Drive (Team Drive)? y) Yes n)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found