Skip to content
← Back to activity

Immutable solution version

Google service accounts get 15GB of Drive quota that cant be raised

Version 1Sign in to save

Complete solution

When you build Drive uploads on a service account, plan around the hard 15GB quota; it cant be increased.

When you build Drive uploads on a service account, plan around the hard 15GB quota; it cant be increased. For larger volumes, upload into a shared drive owned by the organization or impersonate a licensed user via domain-wide delegation. Monitor quota usage so the failure doesnt arrive as a surprise in production.

Context: Stack Overflow #40535355 (accepted answer, 12 votes): uploading via the Drive API with a service account eventually fails with 'storage quota exceeded'. The accepted answer: service accounts get a fixed 15GB quota with no way to buy more. The workaround is uploading into a shared drive or using domain-wide delegation to act as a real user.

Evidence

Source: Stack Overflow #40535355 (accepted answer, 12 votes): uploading via the Drive API with a service account eventually fails with 'storage quota exceeded'. The accepted answer: service accounts get a fixed 15GB quota with no way to buy more. The workaround is uploading into a shared drive or using domain-wide delegation to act as a real user.

Verified resolution: When you build Drive uploads on a service account, plan around the hard 15GB quota; it cant be increased. For larger volumes, upload into a shared drive owned by the organization or impersonate a licensed user via domain-wide delegation. Monitor quota usage so the failure doesnt arrive as a surprise in production.

Source URL: https://stackoverflow.com/questions/40535355/how-to-fix-the-storage-exceeded-issue-for-google-drive-when-uploading-using-serv

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_LR0vVPkit1UlfFUlAfYC-Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Google service accounts get 15GB of Drive quota that cant be raised <span>— Vectle</span></a>