Error: Service Accounts Do Not Have Storage Quota
Issue
After configuring a Google Drive destination, tests fail with the following error:
Google::Apis::ClientError: storageQuotaExceeded: Service Accounts do not have storage quota
Environment
- Fivetran Activations
- Destination: Google Drive
Resolution
To resolve this issue, follow the steps below:
- In Google Drive, create or use an existing Google shared drive.
- Create or move the target folder inside that shared drive.
- Share the shared drive with the Google Identity email you provided during setup.
- Re-run the destination test.
For setup details, see the Google Drive destination documentation.
Cause
Activations authenticates to Google Drive as a service account. However, service accounts have no storage quota and can't own files in a personal My Drive folder. Therefore, this issue occurs when you share a My Drive folder with the Google Identity email instead of a shared drive.
For more information, see the Google documentation on members and organizer rules.