Documentation Index
Fetch the complete documentation index at: https://docs.getcollate.io/llms.txt
Use this file to discover all available pages before exploring further.
Troubleshooting
Learn how to resolve the most common problems people encounter when using the Google Drive connector.Common Issues
Authentication Errors
Problem: Unable to authenticate with Google Drive API Solutions:- Verify that the Google Drive API is enabled in your GCP project
- Check that your service account has the correct permissions
- Ensure the credentials JSON file is valid and properly formatted
- If using domain-wide delegation, verify the Client ID and OAuth scopes are correctly configured in Google Workspace Admin Console
Permission Denied Errors
Problem: “Permission denied” or “Access denied” errors during metadata extraction Solutions:- Verify the service account has read access to the files and folders you’re trying to ingest
- If using shared drives, ensure the service account has been granted access to the specific shared drive
- Check if the
delegatedEmail(if configured) has the necessary permissions - Verify the following OAuth scopes are granted:
https://www.googleapis.com/auth/drive.readonlyhttps://www.googleapis.com/auth/spreadsheets.readonly(if using Google Sheets)
No Files Detected
Problem: Ingestion completes successfully but no files are extracted Solutions:- Check your filter patterns - they might be excluding all files
- Verify that the
driveId(if specified) is correct - Ensure
includeTeamDrivesis set totrueif you want to include shared drives - Check that the service account has access to the drives you’re trying to ingest
Domain-Wide Delegation Issues
Problem: Domain-wide delegation not working Solutions:- Verify the Client ID is correctly added to the Google Workspace Admin Console
- Ensure the OAuth scopes are properly configured
- Check that the
delegatedEmailspecified in the connection configuration is correct - Verify that the service account has domain-wide delegation enabled
Google Sheets Not Extracted
Problem: Google Sheets files are not being ingested Solutions:- Set
includeGoogleSheetstotruein your configuration - Verify the Google Sheets API is enabled in your GCP project
- Check that the OAuth scope
https://www.googleapis.com/auth/spreadsheets.readonlyis granted
Getting Help
If you continue to experience issues:- Check the OpenMetadata Slack community
- Review the GitHub Issues for similar problems
- Consult the Google Drive API documentation
- Open a new issue on GitHub with detailed logs and error messages