Glean Help Center home page
Search...
⌘K
Support
Status
Trust Portal
Go to Glean
Go to Glean
Search...
Navigation
Google Drive
GDRIVE-2
Home
User Guide
Agents
Get Started for Admins
Connectors
Admin Guide
Security & Architecture
Troubleshooting
Release Notes
Archive
Blog
Glean.com
Developer Docs
Troubleshooting
Support Hub
Support Portal Access
Raising a Support Ticket
Record a Trace
Clear the Browser Cache
Error Codes
Error Codes
Generic
Actions
Authentication
Atlassian
Databricks
Box
Confluence
GitHub
GitLab
GitLab On-Prem
Gmail
Gmail Federated
Google Drive
GDRIVE-1
GDRIVE-2
GDRIVE-3
GDRIVE-4
GDRIVE-5
GDRIVE-6
GDRIVE-7
GDRIVE_8
GOOGLE_1
GitHub Enterprise
HubSpot
Azure DevOps
DocuSign
GCP Setup
Jira
Jira On-Prem
Microsoft Office 365
Salesforce
ServiceNow
Simpplr
Slack
Slack Enterprise Grid
Workday
Zendesk
Zoom
On this page
Issue
Resolution
Google Drive
GDRIVE-2
GDRIVE-2 Error Code
Issue
We are unable to make an API request for a required API scope. The error message displayed in the console should display the specific scope we’re unable to validate.
Resolution
Verify that the directory admin user is setup correctly
In your Google Admin console (at
admin.google.com
),
Go to
Menu > Directory > Users
.
Search for the directory admin email and navigate to the user’s page
Verify that the user has the right privileges
Under Admin roles and privileges > Privileges, verify that the user has all the right privileges that are
here
Verify that the user has logged in at least once in to Google Workspace and accepted the Terms of Service
Verify that the user has access to the GDrive app
Under Apps, verify that
Drive and Docs
is ON
Verify that the Drive SDK is available to the user
On the admin portal (
admin.google.com
), from the left sidebar click Apps → Google Workspace → Drive and Docs
Then click Features and Applications, and under Users search for the directory admin email
Verify that under Drive SDK, the setting Allow users to access Google Drive with the Drive SDK API is ON
For more information on the specified API scope:
https://developers.google.com/drive/api/guides/api-specific-auth
If you are still having difficulty please reach out to us:
https://support.glean.com
Was this page helpful?
Yes
No
GDRIVE-1
GDRIVE-3
Assistant
Responses are generated using AI and may contain mistakes.